summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-11-11 13:31:36 -0500
committerLioncash <mathew1800@gmail.com>2016-11-11 13:31:36 -0500
commitcd9520f458023e7e771b2feabc4bbb3fb2cfcf0b (patch)
tree22ae5fc5e84fa6e22a524149160c9cf6619ef349 /Source/Core
parent492b82042dd94791b8c42fc0d19daf013ee5b7ba (diff)
CodeWindow: In-class initialize variables where applicable
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindow.cpp3
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindow.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
index 6f0e215272..1465437152 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
@@ -53,8 +53,7 @@
CCodeWindow::CCodeWindow(CFrame* parent, wxWindowID id, const wxPoint& position, const wxSize& size,
long style, const wxString& name)
- : wxPanel(parent, id, position, size, style, name), m_sibling_panels(), Parent(parent),
- codeview(nullptr)
+ : wxPanel(parent, id, position, size, style, name), Parent(parent)
{
DebugInterface* di = &PowerPC::debug_interface;
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.h b/Source/Core/DolphinWX/Debugger/CodeWindow.h
index 452080fff0..423e86d6eb 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindow.h
+++ b/Source/Core/DolphinWX/Debugger/CodeWindow.h
@@ -157,7 +157,7 @@ private:
// Sibling debugger panels
// FIXME: This obviously belongs in some manager class above this one.
- std::array<wxPanel*, IDM_DEBUG_WINDOW_LIST_END - IDM_DEBUG_WINDOW_LIST_START> m_sibling_panels;
+ std::array<wxPanel*, IDM_DEBUG_WINDOW_LIST_END - IDM_DEBUG_WINDOW_LIST_START> m_sibling_panels{};
CFrame* Parent;
CCodeView* codeview;