Hi, Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan. 284 new defect(s) introduced to digiKam found with Coverity Scan. 232 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 20 of 284 defect(s) ** CID 1317089: (USE_AFTER_FREE) /home/gilles/Devel/5.x/core/libs/album/albummanager.cpp: 3244 in Digikam::AlbumManager::slotDatesJobData(const QMap<QDateTime, int> &)() /home/gilles/Devel/5.x/core/libs/album/albummanager.cpp: 3255 in Digikam::AlbumManager::slotDatesJobData(const QMap<QDateTime, int> &)() ________________________________________________________________________________________________________ *** CID 1317089: (USE_AFTER_FREE) /home/gilles/Devel/5.x/core/libs/album/albummanager.cpp: 3244 in Digikam::AlbumManager::slotDatesJobData(const QMap<QDateTime, int> &)() 3238 { 3239 DAlbum* const album = it.value(); 3240 emit signalAlbumAboutToBeDeleted(album); 3241 d->allAlbumsIdHash.remove(album->globalID()); 3242 emit signalAlbumDeleted(album); 3243 delete album; >>> CID 1317089: (USE_AFTER_FREE) >>> Passing freed pointer "album" as an argument to "signalAlbumHasBeenDeleted". 3244 emit signalAlbumHasBeenDeleted(album); 3245 } 3246 3247 for (QMap<int, DAlbum*>::const_iterator it = yAlbumMap.constBegin(); 3248 it != yAlbumMap.constEnd(); ++it) 3249 { /home/gilles/Devel/5.x/core/libs/album/albummanager.cpp: 3255 in Digikam::AlbumManager::slotDatesJobData(const QMap<QDateTime, int> &)() 3249 { 3250 DAlbum* const album = it.value(); 3251 emit signalAlbumAboutToBeDeleted(album); 3252 d->allAlbumsIdHash.remove(album->globalID()); 3253 emit signalAlbumDeleted(album); 3254 delete album; >>> CID 1317089: (USE_AFTER_FREE) >>> Passing freed pointer "album" as an argument to "signalAlbumHasBeenDeleted". 3255 emit signalAlbumHasBeenDeleted(album); 3256 } 3257 3258 d->dAlbumsCount = yearMonthMap; 3259 emit signalDAlbumsDirty(yearMonthMap); 3260 emit signalDatesMapDirty(datesStatMap); ** CID 1317088: Incorrect expression (USELESS_CALL) ________________________________________________________________________________________________________ *** CID 1317088: Incorrect expression (USELESS_CALL) /home/gilles/Devel/5.x/extra/libkipi/tests/kipicmd/main.cpp: 170 in LoadPlugins(const QString &)() 164 if ( !(*it)->shouldLoad() ) 165 { 166 qDebug() << i18n("Can not load plugin \"%1\": Loader says it should not load.", libraryName); 167 return false; 168 } 169 >>> CID 1317088: Incorrect expression (USELESS_CALL) >>> Calling "(*it)->shouldLoad()" is only useful for its return value, which is ignored. 170 (*it)->shouldLoad(); 171 172 if ( !(*it)->plugin() ) 173 { 174 qDebug() << i18n("Plugin \"%1\" failed to load.", libraryName); 175 return false; ** CID 1317087: Code maintainability issues (UNUSED_VALUE) /home/gilles/Devel/5.x/core/libs/dimg/filters/nr/nrestimate.cpp: 244 in Digikam::NREstimate::startAnalyse()() ________________________________________________________________________________________________________ *** CID 1317087: Code maintainability issues (UNUSED_VALUE) /home/gilles/Devel/5.x/core/libs/dimg/filters/nr/nrestimate.cpp: 244 in Digikam::NREstimate::startAnalyse()() 238 } 239 240 float* ptr = 0; 241 242 if (runningFlag()) 243 { >>> CID 1317087: Code maintainability issues (UNUSED_VALUE) >>> Assigning value from "reinterpret_cast<float *>(sd->data.ptr)" to "ptr" here, but that stored value is overwritten before it can be used. 244 ptr = reinterpret_cast<float*>(sd->data.ptr); 245 } 246 247 qCDebug(LOG_DIMG) << "The rowPosition array is ready!"; 248 postProgress(40); 249 ** CID 1317086: (UNUSED_VALUE) /home/gilles/Devel/5.x/core/libs/dimg/filters/nr/nrestimate.cpp: 461 in Digikam::NREstimate::startAnalyse()() /home/gilles/Devel/5.x/core/libs/dimg/filters/nr/nrestimate.cpp: 464 in Digikam::NREstimate::startAnalyse()() ________________________________________________________________________________________________________ *** CID 1317086: (UNUSED_VALUE) /home/gilles/Devel/5.x/core/libs/dimg/filters/nr/nrestimate.cpp: 461 in Digikam::NREstimate::startAnalyse()() 455 { 456 datasd[i] = datasd[i] / 256; 457 } 458 } 459 460 if (datasd[0] < 7) >>> CID 1317086: (UNUSED_VALUE) >>> Assigning value from "datasd[0] - 0.98" to "L" here, but that stored value is overwritten before it can be used. 461 L = datasd[0] - 0.98; 462 463 if (datasd[0] >= 7 && datasd[0] < 8) 464 L = datasd[0] - 1.2; 465 466 if (datasd[0] >= 8 && datasd[0] < 9) /home/gilles/Devel/5.x/core/libs/dimg/filters/nr/nrestimate.cpp: 464 in Digikam::NREstimate::startAnalyse()() 458 } 459 460 if (datasd[0] < 7) 461 L = datasd[0] - 0.98; 462 463 if (datasd[0] >= 7 && datasd[0] < 8) >>> CID 1317086: (UNUSED_VALUE) >>> Assigning value from "datasd[0] - 1.2" to "L" here, but that stored value is overwritten before it can be used. 464 L = datasd[0] - 1.2; 465 466 if (datasd[0] >= 8 && datasd[0] < 9) 467 L = datasd[0] - 1.5; 468 else 469 L = datasd[0] - 1.7; ** CID 1317085: Code maintainability issues (UNUSED_VALUE) /home/gilles/Devel/5.x/core/libs/database/imgqsort/imgqsort.cpp: 490 in Digikam::ImgQSort::noisedetector() const() ________________________________________________________________________________________________________ *** CID 1317085: Code maintainability issues (UNUSED_VALUE) /home/gilles/Devel/5.x/core/libs/database/imgqsort/imgqsort.cpp: 490 in Digikam::ImgQSort::noisedetector() const() 484 } 485 486 float* ptr = 0; 487 488 if (runningFlag()) 489 { >>> CID 1317085: Code maintainability issues (UNUSED_VALUE) >>> Assigning value from "reinterpret_cast<float *>(sd->data.ptr)" to "ptr" here, but that stored value is overwritten before it can be used. 490 ptr = reinterpret_cast<float*>(sd->data.ptr); 491 } 492 493 qCDebug(DIGIKAM_GENERAL_LOG) << "The rowPosition array is ready!"; 494 495 for (uint i=0 ; runningFlag() && (i < d->neimage.numPixels()) ; i++) ** CID 1317084: Code maintainability issues (UNUSED_VALUE) /home/gilles/Devel/5.x/extra/kipi-plugins/googleservices/gswindow.cpp: 937 in KIPIGoogleServicesPlugin::GSWindow::slotGetPhotoDone(int, const QString &, const QByteArray &)() ________________________________________________________________________________________________________ *** CID 1317084: Code maintainability issues (UNUSED_VALUE) /home/gilles/Devel/5.x/extra/kipi-plugins/googleservices/gswindow.cpp: 937 in KIPIGoogleServicesPlugin::GSWindow::slotGetPhotoDone(int, const QString &, const QByteArray &)() 931 bool bRet = false; 932 if (meta.load(tmpUrl.toLocalFile())) 933 { 934 if (meta.supportXmp() && meta.canWriteXmp(tmpUrl.toLocalFile())) 935 { 936 bRet = meta.setXmpTagString("Xmp.kipi.picasawebGPhotoId", item.id, false); >>> CID 1317084: Code maintainability issues (UNUSED_VALUE) >>> Assigning value from "meta.setXmpKeywords(item.tags, false)" to "bRet" here, but that stored value is overwritten before it can be used. 937 bRet = meta.setXmpKeywords(item.tags, false); 938 } 939 940 941 if (!item.gpsLat.isEmpty() && !item.gpsLon.isEmpty()) 942 { ** CID 1317083: Code maintainability issues (UNUSED_VALUE) /home/gilles/Devel/5.x/extra/kipi-plugins/googleservices/gswindow.cpp: 943 in KIPIGoogleServicesPlugin::GSWindow::slotGetPhotoDone(int, const QString &, const QByteArray &)() ________________________________________________________________________________________________________ *** CID 1317083: Code maintainability issues (UNUSED_VALUE) /home/gilles/Devel/5.x/extra/kipi-plugins/googleservices/gswindow.cpp: 943 in KIPIGoogleServicesPlugin::GSWindow::slotGetPhotoDone(int, const QString &, const QByteArray &)() 937 bRet = meta.setXmpKeywords(item.tags, false); 938 } 939 940 941 if (!item.gpsLat.isEmpty() && !item.gpsLon.isEmpty()) 942 { >>> CID 1317083: Code maintainability issues (UNUSED_VALUE) >>> Assigning value from "meta.setGPSInfo(0., item.gpsLat.toDouble(NULL), item.gpsLon.toDouble(NULL), false)" to "bRet" here, but that stored value is overwritten before it can be used. 943 bRet = meta.setGPSInfo(0.0, item.gpsLat.toDouble(), item.gpsLon.toDouble(), false); 944 } 945 946 bRet = meta.save(tmpUrl.toLocalFile()); 947 } 948 ** CID 1317082: (UNUSED_VALUE) /home/gilles/Devel/5.x/extra/libksane/src/ksane_viewer.cpp: 936 in KSaneIface::KSaneViewer::findSelections(float)() /home/gilles/Devel/5.x/extra/libksane/src/ksane_viewer.cpp: 930 in KSaneIface::KSaneViewer::findSelections(float)() ________________________________________________________________________________________________________ *** CID 1317082: (UNUSED_VALUE) /home/gilles/Devel/5.x/extra/libksane/src/ksane_viewer.cpp: 936 in KSaneIface::KSaneViewer::findSelections(float)() 930 wSelEnd = -1; 931 wSelMargin = 0; 932 } 933 } 934 } 935 hSelStart = -1; >>> CID 1317082: (UNUSED_VALUE) >>> Assigning value "-1" to "hSelEnd" here, but that stored value is overwritten before it can be used. 936 hSelEnd = -1; 937 hSelMargin = 0; 938 colSums.fill(0); 939 } 940 } 941 } /home/gilles/Devel/5.x/extra/libksane/src/ksane_viewer.cpp: 930 in KSaneIface::KSaneViewer::findSelections(float)() 924 d->selectionList.back()->saveZoom(transform().m11()); 925 d->scene->addItem(d->selectionList.back()); 926 d->selectionList.back()->setZValue(9); 927 } 928 } 929 wSelStart = -1; >>> CID 1317082: (UNUSED_VALUE) >>> Assigning value "-1" to "wSelEnd" here, but that stored value is overwritten before it can be used. 930 wSelEnd = -1; 931 wSelMargin = 0; 932 } 933 } 934 } 935 hSelStart = -1; ** CID 1317081: (UNREACHABLE) /home/gilles/Devel/5.x/core/tests/albummodeltest.cpp: 342 in AlbumModelTest::slotStartModelDataChanged(const QModelIndex &, const QModelIndex &)() /home/gilles/Devel/5.x/core/tests/albummodeltest.cpp: 332 in AlbumModelTest::slotStartModelDataChanged(const QModelIndex &, const QModelIndex &)() ________________________________________________________________________________________________________ *** CID 1317081: (UNREACHABLE) /home/gilles/Devel/5.x/core/tests/albummodeltest.cpp: 342 in AlbumModelTest::slotStartModelDataChanged(const QModelIndex &, const QModelIndex &)() 336 337 if (!addedIds.contains(albumId)) 338 { 339 QString message = QLatin1String("Album id ") + QString::number(albumId) 340 + QLatin1String(" was changed before adding signal was received"); 341 QFAIL(message.toLatin1().constData()); >>> CID 1317081: (UNREACHABLE) >>> This code cannot be reached: "QDebug(QMessageLogger({{2, ...". 342 qDebug() << message; 343 } 344 } 345 } 346 347 void AlbumModelTest::deletePAlbum(PAlbum* album) /home/gilles/Devel/5.x/core/tests/albummodeltest.cpp: 332 in AlbumModelTest::slotStartModelDataChanged(const QModelIndex &, const QModelIndex &)() 326 { 327 QModelIndex index = startModel->index(row, topLeft.column(), topLeft.parent()); 328 329 if (!index.isValid()) 330 { 331 QFAIL("Illegal index received"); >>> CID 1317081: (UNREACHABLE) >>> This code cannot be reached: "continue;". 332 continue; 333 } 334 335 int albumId = index.data(AbstractAlbumModel::AlbumIdRole).toInt(); 336 337 if (!addedIds.contains(albumId)) ** CID 1317080: Incorrect expression (UNINTENDED_INTEGER_DIVISION) /home/gilles/Devel/5.x/extra/kipi-plugins/printimages/wizard/wizard.cpp: 363 in KIPIPrintImagesPlugin::createPhotoGrid(KIPIPrintImagesPlugin::_TPhotoSize *, int, int, int, int, KIPIPrintImagesPlugin::TemplateIcon *)() ________________________________________________________________________________________________________ *** CID 1317080: Incorrect expression (UNINTENDED_INTEGER_DIVISION) /home/gilles/Devel/5.x/extra/kipi-plugins/printimages/wizard/wizard.cpp: 363 in KIPIPrintImagesPlugin::createPhotoGrid(KIPIPrintImagesPlugin::_TPhotoSize *, int, int, int, int, KIPIPrintImagesPlugin::TemplateIcon *)() 357 delete d; 358 } 359 360 // create a MxN grid of photos, fitting on the page 361 void createPhotoGrid(TPhotoSize* p, int pageWidth, int pageHeight, int rows, int columns, TemplateIcon* iconpreview) 362 { >>> CID 1317080: Incorrect expression (UNINTENDED_INTEGER_DIVISION) >>> Dividing integer expressions "pageWidth + pageHeight" and "2", and then converting the integer quotient to type "double". Any remainder, or fractional part of the quotient, is ignored. 363 int MARGIN = (int)((pageWidth + pageHeight) / 2 * 0.04 + 0.5); 364 int GAP = MARGIN / 4; 365 int photoWidth = (pageWidth - (MARGIN * 2) - ((columns - 1) * GAP)) / columns; 366 int photoHeight = (pageHeight - (MARGIN * 2) - ((rows - 1) * GAP)) / rows; 367 int row = 0; 368 ** CID 1317079: Incorrect expression (UNINTENDED_INTEGER_DIVISION) /home/gilles/Devel/5.x/core/libs/dimg/filters/dimgthreadedfilter.cpp: 279 in Digikam::DImgThreadedFilter::multithreadedSteps(int, int) const() ________________________________________________________________________________________________________ *** CID 1317079: Incorrect expression (UNINTENDED_INTEGER_DIVISION) /home/gilles/Devel/5.x/core/libs/dimg/filters/dimgthreadedfilter.cpp: 279 in Digikam::DImgThreadedFilter::multithreadedSteps(int, int) const() 273 return QString(); 274 } 275 276 QList<int> DImgThreadedFilter::multithreadedSteps(int stop, int start) const 277 { 278 uint nbCore = QThreadPool::globalInstance()->maxThreadCount(); >>> CID 1317079: Incorrect expression (UNINTENDED_INTEGER_DIVISION) >>> Dividing integer expressions "stop - start" and "nbCore", and then converting the integer quotient to type "float". Any remainder, or fractional part of the quotient, is ignored. 279 float step = (stop - start) / nbCore; 280 QList<int> vals; 281 282 vals << start; 283 284 for (uint i = 1 ; i < nbCore ; ++i) ** CID 1317078: Incorrect expression (UNINTENDED_INTEGER_DIVISION) /home/gilles/Devel/5.x/core/libs/dmetadata/geodetictools.cpp: 534 in Digikam::GeodeticCalculator::computeDirection()() ________________________________________________________________________________________________________ *** CID 1317078: Incorrect expression (UNINTENDED_INTEGER_DIVISION) /home/gilles/Devel/5.x/core/libs/dmetadata/geodetictools.cpp: 534 in Digikam::GeodeticCalculator::computeDirection()() 528 const double b2 = z*(-1.0/4.0 + z*( 1.0/ 16.0 + z*(-15.0/512.0 + z*( 35.0/ 2048.0)))); 529 const double b4 = z*z*(-1.0/ 128.0 + z*( 3.0/512.0 - z*( 35.0/ 8192.0))); 530 const double b6 = z*z*z*(-1.0/1536.0 + z*( 5.0/ 6144.0)); 531 532 // The distance in ellispoid axis units. 533 m_distance = m_semiMinorAxis * (bo*sig + b2*ssig*q2 + b4*r2*q4 + b6*r3*q6); >>> CID 1317078: Incorrect expression (UNINTENDED_INTEGER_DIVISION) >>> Dividing integer expressions "3" and "2", and then converting the integer quotient to type "double". Any remainder, or fractional part of the quotient, is ignored. 534 double az1 = (dlon<0) ? M_PI*(3/2) : M_PI/2; 535 536 // now compute the az1 & az2 for latitudes not on the equator 537 if ((fabs(su1)>=TOLERANCE_0) || (fabs(su2)>=TOLERANCE_0)) 538 { 539 const double tana1 = slon*cu2 / (su2*cu1 - clon*su1*cu2); ** CID 1317077: Incorrect expression (UNINTENDED_INTEGER_DIVISION) /home/gilles/Devel/5.x/extra/kipi-plugins/imageviewer/texture.cpp: 465 in KIPIViewerPlugin::Texture::zoomToOriginal()() ________________________________________________________________________________________________________ *** CID 1317077: Incorrect expression (UNINTENDED_INTEGER_DIVISION) /home/gilles/Devel/5.x/extra/kipi-plugins/imageviewer/texture.cpp: 465 in KIPIViewerPlugin::Texture::zoomToOriginal()() 459 */ 460 void Texture::zoomToOriginal() 461 { 462 float zoomfactorToOriginal; 463 reset(); 464 >>> CID 1317077: Incorrect expression (UNINTENDED_INTEGER_DIVISION) >>> Dividing integer expressions "this->d->qimage.width()" and "this->d->qimage.height()", and then converting the integer quotient to type "float". Any remainder, or fractional part of the quotient, is ignored. 465 if (d->qimage.width()/d->qimage.height() > float(d->display_x)/float(d->display_y)) 466 { 467 //image touches right and left edge of window 468 zoomfactorToOriginal = float(d->display_x)/d->qimage.width(); 469 } 470 else ** CID 1317076: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/core/tests/albummodeltest.cpp: 57 in AlbumModelTest::AlbumModelTest()() ________________________________________________________________________________________________________ *** CID 1317076: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/core/tests/albummodeltest.cpp: 57 in AlbumModelTest::AlbumModelTest()() 51 52 QTEST_MAIN(AlbumModelTest) 53 54 AlbumModelTest::AlbumModelTest() 55 : albumCategory(QLatin1String("DummyCategory")) 56 { >>> CID 1317076: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "startModel" is not initialized in this constructor nor in any functions that it calls. 57 } 58 59 AlbumModelTest::~AlbumModelTest() 60 { 61 } 62 ** CID 1317075: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/common/libkipiplugins/dialogs/kpoutputdialog.cpp: 50 in KIPIPlugins::KPOutputDialog::Private::Private()() ________________________________________________________________________________________________________ *** CID 1317075: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/common/libkipiplugins/dialogs/kpoutputdialog.cpp: 50 in KIPIPlugins::KPOutputDialog::Private::Private()() 44 { 45 public: 46 47 Private() 48 { 49 debugView = 0; >>> CID 1317075: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "buttonBox" is not initialized in this constructor nor in any functions that it calls. 50 } 51 52 QTextBrowser* debugView; 53 QDialogButtonBox* buttonBox; 54 }; 55 ** CID 1317074: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/calendar/plugin/plugin_calendar.cpp: 59 in KIPICalendarPlugin::Plugin_Calendar::Plugin_Calendar(QObject *, const QList<QVariant> &)() ________________________________________________________________________________________________________ *** CID 1317074: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/calendar/plugin/plugin_calendar.cpp: 59 in KIPICalendarPlugin::Plugin_Calendar::Plugin_Calendar(QObject *, const QList<QVariant> &)() 53 { 54 qCDebug(KIPIPLUGINS_LOG) << "Plugin_Calendar plugin loaded"; 55 56 57 setUiBaseName("kipiplugin_calendarui.rc"); 58 setupXML(); >>> CID 1317074: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "m_actionCalendar" is not initialized in this constructor nor in any functions that it calls. 59 } 60 61 Plugin_Calendar::~Plugin_Calendar() 62 { 63 } 64 ** CID 1317073: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/kmlexport/plugin_kmlexport.cpp: 67 in KIPIKMLExportPlugin::Plugin_KMLExport::Plugin_KMLExport(QObject *, const QList<QVariant> &)() ________________________________________________________________________________________________________ *** CID 1317073: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/kmlexport/plugin_kmlexport.cpp: 67 in KIPIKMLExportPlugin::Plugin_KMLExport::Plugin_KMLExport(QObject *, const QList<QVariant> &)() 61 : Plugin( /*KMLExportFactory::componentData(),*/ parent, "KMLExport") 62 { 63 qCDebug(KIPIPLUGINS_LOG) << "Plugin_SendImages plugin loaded"; 64 65 setUiBaseName("kipiplugin_kmlexportui.rc"); 66 setupXML(); >>> CID 1317073: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "m_interface" is not initialized in this constructor nor in any functions that it calls. 67 } 68 69 Plugin_KMLExport::~Plugin_KMLExport() 70 { 71 } 72 ** CID 1317072: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/vkontakte/plugin_vkontakte.cpp: 56 in KIPIVkontaktePlugin::Plugin_Vkontakte::Plugin_Vkontakte(QObject *, const QList<QVariant> &)() ________________________________________________________________________________________________________ *** CID 1317072: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/vkontakte/plugin_vkontakte.cpp: 56 in KIPIVkontaktePlugin::Plugin_Vkontakte::Plugin_Vkontakte(QObject *, const QList<QVariant> &)() 50 // m_dlgImport = 0; 51 52 qCDebug(KIPIPLUGINS_LOG) << "Plugin_Vkontakte plugin loaded"; 53 54 setUiBaseName("kipiplugin_vkontakteui.rc"); 55 setupXML(); >>> CID 1317072: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "m_actionExport" is not initialized in this constructor nor in any functions that it calls. 56 } 57 58 Plugin_Vkontakte::~Plugin_Vkontakte() 59 { 60 } 61 ** CID 1317071: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/yandexfotki/plugin_yandexfotki.cpp: 60 in KIPIYandexFotkiPlugin::Plugin_YandexFotki::Plugin_YandexFotki(QObject *, const QList<QVariant> &)() ________________________________________________________________________________________________________ *** CID 1317071: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/yandexfotki/plugin_yandexfotki.cpp: 60 in KIPIYandexFotkiPlugin::Plugin_YandexFotki::Plugin_YandexFotki(QObject *, const QList<QVariant> &)() 54 55 m_dlgExport = 0; 56 // m_dlgImport = 0; 57 58 setUiBaseName("kipiplugin_yandexfotkiui.rc"); 59 setupXML(); >>> CID 1317071: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "m_actionExport" is not initialized in this constructor nor in any functions that it calls. 60 } 61 62 Plugin_YandexFotki::~Plugin_YandexFotki() 63 { 64 } 65 ** CID 1317070: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/geolocator/plugin_geolocator.cpp: 68 in KIPIGeolocatorPlugin::Plugin_Geolocator::Plugin_Geolocator(QObject *, const QList<QVariant> &)() ________________________________________________________________________________________________________ *** CID 1317070: Uninitialized members (UNINIT_CTOR) /home/gilles/Devel/5.x/extra/kipi-plugins/geolocator/plugin_geolocator.cpp: 68 in KIPIGeolocatorPlugin::Plugin_Geolocator::Plugin_Geolocator(QObject *, const QList<QVariant> &)() 62 : Plugin(parent, "Geolocator") 63 { 64 qCDebug(KIPIPLUGINS_LOG) << "Plugin_Geolocator plugin loaded" ; 65 66 setUiBaseName("kipiplugin_geolocatorui.rc"); 67 setupXML(); >>> CID 1317070: Uninitialized members (UNINIT_CTOR) >>> Non-static class member "m_interface" is not initialized in this constructor nor in any functions that it calls. 68 } 69 70 Plugin_Geolocator::~Plugin_Geolocator() 71 { 72 } 73 ________________________________________________________________________________________________________ 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 |