[Digikam-devel] New Defects reported by Coverity Scan for digiKam

scan-admin at coverity.com scan-admin at coverity.com
Tue Apr 5 20:26:00 BST 2016


Hi,

Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan.

4 new defect(s) introduced to digiKam found with Coverity Scan.
18 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 4 of 4 defect(s)


** CID 1358179:  Uninitialized members  (UNINIT_CTOR)
/home/gilles/Devel/5.x/core/app/date/ddatetable_p.cpp: 55 in Digikam::DDateTable::Private::Private(Digikam::DDateTable*)()


________________________________________________________________________________________________________
*** CID 1358179:  Uninitialized members  (UNINIT_CTOR)
/home/gilles/Devel/5.x/core/app/date/ddatetable_p.cpp: 55 in Digikam::DDateTable::Private::Private(Digikam::DDateTable*)()
49           q(q)
50     {
51         popupMenuEnabled = false;
52         useCustomColors  = false;
53         hoveredPos       = -1;
54         setDate(QDate::currentDate());
>>>     CID 1358179:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "fontsize" is not initialized in this constructor nor in any functions that it calls.
55     }
56     
57     DDateTable::Private::~Private()
58     {
59     }
60     

** CID 1358178:  Uninitialized members  (UNINIT_CTOR)
/home/gilles/Devel/5.x/core/libs/notificationmanager/dnotificationwidget_p.cpp: 52 in Digikam::DNotificationWidget::Private::Private(Digikam::DNotificationWidget*)()


________________________________________________________________________________________________________
*** CID 1358178:  Uninitialized members  (UNINIT_CTOR)
/home/gilles/Devel/5.x/core/libs/notificationmanager/dnotificationwidget_p.cpp: 52 in Digikam::DNotificationWidget::Private::Private(Digikam::DNotificationWidget*)()
46     {
47     
48     DNotificationWidget::Private::Private(DNotificationWidget* const q_ptr)
49         : QObject(q_ptr)
50     {
51         q = q_ptr;
>>>     CID 1358178:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "wordWrap" is not initialized in this constructor nor in any functions that it calls.
52     }
53     
54     DNotificationWidget::Private::~Private()
55     {
56     }
57     

** CID 1358177:  Uninitialized members  (UNINIT_CTOR)
/home/gilles/Devel/5.x/core/libs/notificationmanager/dnotificationpopup.cpp: 86 in Digikam::DNotificationPopup::Private::Private(Digikam::DNotificationPopup*, unsigned long long)()


________________________________________________________________________________________________________
*** CID 1358177:  Uninitialized members  (UNINIT_CTOR)
/home/gilles/Devel/5.x/core/libs/notificationmanager/dnotificationpopup.cpp: 86 in Digikam::DNotificationPopup::Private::Private(Digikam::DNotificationPopup*, unsigned long long)()
80     
81             connect(hideTimer, SIGNAL(timeout()),
82                     q, SLOT(hide()));
83     
84             connect(q, SIGNAL(clicked()),
85                     q, SLOT(hide()));
>>>     CID 1358177:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "msg" is not initialized in this constructor nor in any functions that it calls.
86         }
87     
88     public:
89     
90         DNotificationPopup* q;
91     

** CID 1358176:  Uninitialized members  (UNINIT_CTOR)
/home/gilles/Devel/5.x/core/app/date/ddatepicker_p.cpp: 137 in Digikam::DDatePicker::Private::Private(Digikam::DDatePicker*)()


________________________________________________________________________________________________________
*** CID 1358176:  Uninitialized members  (UNINIT_CTOR)
/home/gilles/Devel/5.x/core/app/date/ddatepicker_p.cpp: 137 in Digikam::DDatePicker::Private::Private(Digikam::DDatePicker*)()
131         : q(q),
132           closeButton(0L),
133           selectWeek(0L),
134           todayButton(0),
135           navigationLayout(0)
136     {
>>>     CID 1358176:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "fontsize" is not initialized in this constructor nor in any functions that it calls.
137     }
138     
139     void DDatePicker::Private::fillWeeksCombo()
140     {
141         // every year can have a different number of weeks
142         // it could be that we had 53,1..52 and now 1..53 which is the same number but different


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/digikam?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