GUI: Initialize all class members

CID 146979 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)2. uninit_member: Non-static class member m_miscGroup is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
Akash 2015-10-23 14:11:04 +05:30
parent 578b75aa76
commit c912064c8d

View File

@ -28,8 +28,8 @@ namespace Panels
wxStaticBoxSizer* m_miscGroup; wxStaticBoxSizer* m_miscGroup;
public: public:
BaseCpuLogOptionsPanel( wxWindow* parent, const wxString& title, wxOrientation orient=wxVERTICAL ) BaseCpuLogOptionsPanel(wxWindow* parent, const wxString& title, wxOrientation orient = wxVERTICAL)
: CheckedStaticBox( parent, orient, title ) {} : CheckedStaticBox(parent, orient, title), m_miscGroup(NULL){}
virtual wxStaticBoxSizer* GetMiscGroup() const { return m_miscGroup; } virtual wxStaticBoxSizer* GetMiscGroup() const { return m_miscGroup; }
virtual CheckedStaticBox* GetStaticBox( const wxString& subgroup ) const=0; virtual CheckedStaticBox* GetStaticBox( const wxString& subgroup ) const=0;