From b030d290671c283020c405dfd9e8658935dcf1cf Mon Sep 17 00:00:00 2001 From: Rohit Nirmal Date: Tue, 2 Dec 2014 18:20:52 -0600 Subject: Silence some -Wswitch-default warnings. --- Source/Core/DolphinWX/MainNoGUI.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp') diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp index c723bac087..be3d9a7df3 100644 --- a/Source/Core/DolphinWX/MainNoGUI.cpp +++ b/Source/Core/DolphinWX/MainNoGUI.cpp @@ -46,12 +46,8 @@ void Host_RefreshDSPDebuggerWindow() {} static Common::Event updateMainFrameEvent; void Host_Message(int Id) { - switch (Id) - { - case WM_USER_STOP: - running = false; - break; - } + if (Id == WM_USER_STOP) + running = false; } static void* s_window_handle; -- cgit v1.2.3