From c912064c8d589f1070545ae2d01bda220c391264 Mon Sep 17 00:00:00 2001 From: Akash Date: Fri, 23 Oct 2015 14:11:04 +0530 Subject: [PATCH] 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. --- pcsx2/gui/Panels/LogOptionsPanels.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/gui/Panels/LogOptionsPanels.h b/pcsx2/gui/Panels/LogOptionsPanels.h index 967d6fc2d4..b7d51f4ef8 100644 --- a/pcsx2/gui/Panels/LogOptionsPanels.h +++ b/pcsx2/gui/Panels/LogOptionsPanels.h @@ -28,8 +28,8 @@ namespace Panels wxStaticBoxSizer* m_miscGroup; public: - BaseCpuLogOptionsPanel( wxWindow* parent, const wxString& title, wxOrientation orient=wxVERTICAL ) - : CheckedStaticBox( parent, orient, title ) {} + BaseCpuLogOptionsPanel(wxWindow* parent, const wxString& title, wxOrientation orient = wxVERTICAL) + : CheckedStaticBox(parent, orient, title), m_miscGroup(NULL){} virtual wxStaticBoxSizer* GetMiscGroup() const { return m_miscGroup; } virtual CheckedStaticBox* GetStaticBox( const wxString& subgroup ) const=0;