Hi, Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan. 3 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 3 of 3 defect(s) ** CID 1341879: Control flow issues (UNREACHABLE) /home/gilles/Devel/5.x/core/libs/database/coredb/coredb.cpp: 321 in Digikam::CoreDB::getTagInfo(int)() ________________________________________________________________________________________________________ *** CID 1341879: Control flow issues (UNREACHABLE) /home/gilles/Devel/5.x/core/libs/database/coredb/coredb.cpp: 321 in Digikam::CoreDB::getTagInfo(int)() 315 316 TagInfo CoreDB::getTagInfo(int tagId) 317 { 318 QList<QVariant> values; 319 d->db->execSql(QString::fromUtf8("SELECT id, pid, name, icon, iconkde WHERE id=? FROM Tags;"), tagId, &values); 320 >>> CID 1341879: Control flow issues (UNREACHABLE) >>> Since the loop increment is unreachable, the loop body will never execute more than once. 321 for (QList<QVariant>::const_iterator it = values.constBegin(); it != values.constEnd();) 322 { 323 TagInfo info; 324 325 info.id = (*it).toInt(); 326 ++it; ** CID 1341878: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/core/libs/dimg/filters/lut3d/lut3dfilter.cpp: 48 in Digikam::Lut3DFilter::Lut3DFilter(QObject *)() ________________________________________________________________________________________________________ *** CID 1341878: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/core/libs/dimg/filters/lut3d/lut3dfilter.cpp: 48 in Digikam::Lut3DFilter::Lut3DFilter(QObject *)() 42 { 43 44 Lut3DFilter::Lut3DFilter(QObject* const parent) 45 : DImgThreadedFilter(parent) 46 { 47 initFilter(); >>> CID 1341878: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "m_intensity" is not initialized in this constructor nor in any functions that it calls. 48 } 49 50 Lut3DFilter::Lut3DFilter(DImg* const orgImage, 51 const Lut3DContainer& par, 52 QObject* const parent) 53 : DImgThreadedFilter(orgImage, parent, QLatin1String("Lut3DFilter")), ** CID 1341877: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/core/imageplugins/color/lut3dtool.cpp: 61 in DigikamColorImagePlugin::Lut3DTool::Private::Private()() ________________________________________________________________________________________________________ *** CID 1341877: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/core/imageplugins/color/lut3dtool.cpp: 61 in DigikamColorImagePlugin::Lut3DTool::Private::Private()() 55 public: 56 57 Private() : 58 previewWidget(0), 59 gboxSettings(0) 60 { >>> CID 1341877: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "settingsView" is not initialized in this constructor nor in any functions that it calls. 61 } 62 63 static const QString configGroupName; 64 static const QString configHistogramChannelEntry; 65 static const QString configHistogramScaleEntry; 66 ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/digikam?tab=overview To manage Coverity Scan email notifications for "[hidden email]", click https://scan.coverity.com/subscriptions/edit?email=digikam-devel%40kde.org&token=621bfe7450f4a870432a2a9c106aa3a8 _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |