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. 2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 1373384: Incorrect expression (IDENTICAL_BRANCHES) /core/app/moc_albumdragdrop.cpp: 85 in Digikam::AlbumDragDropHandler::qt_metacall(QMetaObject::Call, int, void **)() ________________________________________________________________________________________________________ *** CID 1373384: Incorrect expression (IDENTICAL_BRANCHES) /core/app/moc_albumdragdrop.cpp: 85 in Digikam::AlbumDragDropHandler::qt_metacall(QMetaObject::Call, int, void **)() 79 return AlbumModelDragDropHandler::qt_metacast(_clname); 80 } 81 82 int Digikam::AlbumDragDropHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 83 { 84 _id = AlbumModelDragDropHandler::qt_metacall(_c, _id, _a); >>> CID 1373384: 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-2BzKk1Nu56XtBupWJitvnTApeoUaWWHG14ENkYkEt-2F9XNDpwgaKTyBjOL0fxVh6ZdreQJKSK66KzbF10wRhTUKZp9Awk1dLztdPvkEhP-2FeLi7e5oemRJCnZF0Y4ig5IytcGzE7ZqWv2aq-2BZJ239-2B30-2BPnxeKtiq0onPz-2BKc6nCT8H67Teuo7nieVOXoZ137Yk013WsG0xfLeEowS5RTTYA0-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-2BzKk1Nu56XtBupWJitvnTApeoUaWWHG14ENkYkEt-2F9XAHrBNP0tgwCbMuZSHCZl15k-2F59tYm1aPfVshNPXE15XFebTAEGPBwg0uDw-2FA1urbE17XEUqbZdMucZac3guMqXx-2FGxGaGM4OTNr1K9voflVEMuISPeGaYB37rhjlmod-2F-2BlxZmPAkKZlKyk9QzlT-2BG-2B5xLt64xh-2BvllIK6YpktME-3D |
Free forum by Nabble | Edit this page |