summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/MainNoGUI.cpp
diff options
context:
space:
mode:
authorRohit Nirmal <rohitnirmal9@gmail.com>2014-12-02 18:20:52 -0600
committerRohit Nirmal <rohitnirmal9@gmail.com>2014-12-11 22:23:05 -0600
commitb030d290671c283020c405dfd9e8658935dcf1cf (patch)
treeccb0660dd7c0dc19b09f5357305a94c81b7a50e5 /Source/Core/DolphinWX/MainNoGUI.cpp
parent54f1e3a3c148d36e694d8bb08d282225bdcb3440 (diff)
Silence some -Wswitch-default warnings.
Diffstat (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinWX/MainNoGUI.cpp8
1 files changed, 2 insertions, 6 deletions
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;