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 1302824: (UNINIT)
/mnt/devel/GIT/4.x/extra/libkvkontakte/libkvkontakte/util.cpp: 96 in appPermissionsFromStringList(QStringList)()
/mnt/devel/GIT/4.x/extra/libkvkontakte/libkvkontakte/util.cpp: 88 in appPermissionsFromStringList(QStringList)()
________________________________________________________________________________________________________
*** CID 1302824: (UNINIT)
/mnt/devel/GIT/4.x/extra/libkvkontakte/libkvkontakte/util.cpp: 96 in appPermissionsFromStringList(QStringList)()
90 foreach (Vkontakte::AppPermissions::Value key, appPermissionToString.keys()) {
91 if (permissions.contains(appPermissionToString.value(key))) {
92 res |= key;
93 }
94 }
95
>>> CID 1302824: (UNINIT)
>>> Using uninitialized value "res".
96 return res;
/mnt/devel/GIT/4.x/extra/libkvkontakte/libkvkontakte/util.cpp: 88 in appPermissionsFromStringList(QStringList)()
82 return res;
83 }
84
85 // TODO: remove this function after AuthenticationDialog::setPermissions(QStringList) is removed
86 Vkontakte::AppPermissions::Value appPermissionsFromStringList(QStringList permissions)
87 {
>>> CID 1302824: (UNINIT)
>>> Declaring variable "res" without initializer.
88 Vkontakte::AppPermissions::Value res;
89
90 foreach (Vkontakte::AppPermissions::Value key, appPermissionToString.keys()) {
91 if (permissions.contains(appPermissionToString.value(key))) {
92 res |= key;
93 }
94 }
95
96 return res;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/285?tab=overviewTo 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