Commit 11775b34 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Coverity check CID 268399: Uninitialized scalar field (UNINIT_CTOR)

Non-static class member m is not initialized in this constructor
nor in any functions that it calls.

CCBUG:340646
parent ed05f534
......@@ -56,7 +56,7 @@ class DebugMenu {
public:
DebugMenu(ListPopupMenu::MenuType _m) : m(_m) {}
DebugMenu(const QString & _m) : menu(_m) {}
ListPopupMenu::MenuType m;
ListPopupMenu::MenuType m{ListPopupMenu::mt_Undefined};
QString menu;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment