[Digikam-devel] New Defects reported by Coverity Scan for digiKam
scan-admin at coverity.com
scan-admin at coverity.com
Thu Aug 6 17:32:52 BST 2015
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 1315404: Uninitialized variables (UNINIT)
/mnt/devel/GIT/4.x/extra/kipi-plugins/dropbox/dbtalker.cpp: 594 in KIPIDropboxPlugin::DBTalker::parseResponseListFolders(const QByteArray &)()
________________________________________________________________________________________________________
*** CID 1315404: Uninitialized variables (UNINIT)
/mnt/devel/GIT/4.x/extra/kipi-plugins/dropbox/dbtalker.cpp: 594 in KIPIDropboxPlugin::DBTalker::parseResponseListFolders(const QByteArray &)()
588 foreach(QVariant abc, qwe)
589 {
590 QVariantMap qwer = abc.toMap();
591 QList<QString> b = qwer.uniqueKeys();
592 QString path("");
593 QString isDir("");
>>> CID 1315404: Uninitialized variables (UNINIT)
>>> Declaring variable "temp" without initializer.
594 int temp;
595
596 for(int i=0;i<qwer.size();i++)
597 {
598 if(b[i] == "is_dir")
599 isDir = qwer[b[i]].value<QString>();
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/285?tab=overview
To manage Coverity Scan email notifications for "digikam-devel at kde.org", click https://scan.coverity.com/subscriptions/edit?email=digikam-devel%40kde.org&token=621bfe7450f4a870432a2a9c106aa3a8
More information about the Digikam-devel
mailing list