From 492b82042dd94791b8c42fc0d19daf013ee5b7ba Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 11 Nov 2016 13:20:47 -0500 Subject: CodeWindow: Remove unused parameter from constructor --- Source/Core/DolphinWX/Debugger/CodeWindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/Core/DolphinWX/Debugger/CodeWindow.cpp') diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp index c39efe0047..6f0e215272 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp @@ -51,9 +51,8 @@ #include "DolphinWX/Globals.h" #include "DolphinWX/WxUtils.h" -CCodeWindow::CCodeWindow(const SConfig& _LocalCoreStartupParameter, CFrame* parent, wxWindowID id, - const wxPoint& position, const wxSize& size, long style, - const wxString& name) +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) { -- cgit v1.2.3 From cd9520f458023e7e771b2feabc4bbb3fb2cfcf0b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 11 Nov 2016 13:31:36 -0500 Subject: CodeWindow: In-class initialize variables where applicable --- Source/Core/DolphinWX/Debugger/CodeWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/DolphinWX/Debugger/CodeWindow.cpp') 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; -- cgit v1.2.3