Hi, Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan. Defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1170361: Dead default in switch (DEADCODE) /mnt/devel/GIT/4.x/core/libs/widgets/itemview/dkineticscroller.cpp: 233 in Digikam::DKineticScroller::eventFilter(QObject *, QEvent *)() ** CID 1042527: Unchecked return value (CHECKED_RETURN) /mnt/devel/GIT/4.x/extra/kipi-plugins/common/libkipiplugins/tools/kpbinaryiface.cpp: 225 in KIPIPlugins::KPBinaryIface::checkDir(const QString &)() ________________________________________________________________________________________________________ *** CID 1170361: Dead default in switch (DEADCODE) /mnt/devel/GIT/4.x/core/libs/widgets/itemview/dkineticscroller.cpp: 233 in Digikam::DKineticScroller::eventFilter(QObject *, QEvent *)() 227 d->ignoredMouseActions = 2; 228 QApplication::postEvent(object, mousePress); 229 QApplication::postEvent(object, mouseRelease); 230 } 231 } 232 break; >>> CID 1170361: Dead default in switch (DEADCODE) >>> Execution cannot reach this statement "default:". 233 default: 234 break; 235 } 236 237 return true; // filter event 238 } ________________________________________________________________________________________________________ *** CID 1042527: Unchecked return value (CHECKED_RETURN) /mnt/devel/GIT/4.x/extra/kipi-plugins/common/libkipiplugins/tools/kpbinaryiface.cpp: 225 in KIPIPlugins::KPBinaryIface::checkDir(const QString &)() 219 QString possiblePath = path(possibleDir); 220 221 kDebug() << "Testing " << possiblePath << "..."; 222 QProcess process; 223 process.setProcessChannelMode(QProcess::MergedChannels); 224 process.start(possiblePath, m_binaryArguments); >>> CID 1042527: Unchecked return value (CHECKED_RETURN) >>> No check of the return value of "process.waitForFinished(30000)". 225 process.waitForFinished(); 226 227 if (process.error() != QProcess::FailedToStart) 228 { 229 m_isFound = true; 230 ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/285?tab=Overview To unsubscribe from the email notification for new defects, http://scan5.coverity.com/cgi-bin/unsubscribe.py _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |