Skip to content

Commit

Permalink
CID 35491: Uninitialized pointer field (UNINIT_CTOR)
Browse files Browse the repository at this point in the history
4. uninit_member: Non-static class member m_group is not initialized in
this constructor nor in any functions that it calls.
  • Loading branch information
hallarempt committed Sep 26, 2019
1 parent d5a62cd commit db22409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/ui/widgets/kis_size_group_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ class GroupItem : public QObject, public QWidgetItem
bool eventFilter(QObject*, QEvent *event) override;

private:
bool m_hidden;
bool m_hidden {false};
QSize m_size;
KisSizeGroupPrivate* m_group;
KisSizeGroupPrivate* m_group {0};
};

#endif // KISSIZEGROUPPRIVATE_H

0 comments on commit db22409

Please sign in to comment.