New Defects reported by Coverity Scan for digiKam

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

New Defects reported by Coverity Scan for digiKam

scan-admin

Hi,

Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan.

1 new defect(s) introduced to digiKam found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1411556:  Incorrect expression  (IDENTICAL_BRANCHES)
/core/utilities/assistants/videoslideshow/videoslideshow_src_automoc.dir/moc_vidslidewizard_I3AMRB7GF6DE6K.cpp: 85 in Digikam::VidSlideWizard::qt_metacall(QMetaObject::Call, int, void **)()


________________________________________________________________________________________________________
*** CID 1411556:  Incorrect expression  (IDENTICAL_BRANCHES)
/core/utilities/assistants/videoslideshow/videoslideshow_src_automoc.dir/moc_vidslidewizard_I3AMRB7GF6DE6K.cpp: 85 in Digikam::VidSlideWizard::qt_metacall(QMetaObject::Call, int, void **)()
79         return DWizardDlg::qt_metacast(_clname);
80     }
81    
82     int Digikam::VidSlideWizard::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
83     {
84         _id = DWizardDlg::qt_metacall(_c, _id, _a);
>>>     CID 1411556:  Incorrect expression  (IDENTICAL_BRANCHES)
>>>     The same code is executed when the condition "_id < 0" is true or false, because the code in the if-then branch and after the if statement is identical. Should the if statement be removed?
85         if (_id < 0)
86             return _id;
87         return _id;
88     }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZIlZa20oQ0xtvekoaSXYBwgZYh7yqZ4T857KvBwnvzEg-3D-3D_Vulo-2FzB1zz6bqp-2F-2Bl-2FpBD-2BzKk1Nu56XtBupWJitvnTBmRa5FQp-2BX7Gp7hUyzfZMB62zgPv8Z26OG2aHKPNN7yBlPq04kjbPuqpMgwuLxBE9SThbcm4wuQU5CjuIrH2h5H1-2F0qA0ub2Bug4ldvZQhyUoYSFnVOiWwXi5ccCppOh07IaH5f3C4hRotM7tLAwN0xK9Munu7gkP4PJnP1m7SEzmADvTPeOVk2dlOcRZDtZg-3D

To manage Coverity Scan email notifications for "[hidden email]", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4g-2BkTwi3e7HlDkvMAkUMj2-2FFhZ2O-2BELTTy-2Fl1ea1gxKqmntchu8-2BeAOkExRtki0102MqL9th0o1rOws5-2F-2FQDFdjkpeJaB-2FdUMxPk-2B7ZQUGV0-3D_Vulo-2FzB1zz6bqp-2F-2Bl-2FpBD-2BzKk1Nu56XtBupWJitvnTBmRa5FQp-2BX7Gp7hUyzfZMBqunY4N3sheHo-2BiaKoWuygDQVy-2BguPHZOxB5QH2BWDeYnnT3BWxFDDaLp9w-2F-2Bdw-2Fm-2BVyzWbEw0n8hdkTHx7ja49j9bMQbkmqDgd5PCScm3w4pL7HefPzCQ0-2BAM2pjLlUeiE-2FV13FBY1hr5kRMn01vk3N6tVvixEGcCVSR1Mi6PJA-3D

Loading...