From c4bb452f2b9705422f70cb90ae2e2945d547e1c0 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Tue, 21 Mar 2017 23:39:09 -0700 Subject: [PATCH] InputConfigDiagBitmaps: add switch empty cases (fixes warning) Fixes warning: ``` dolphin/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp:170:13: warning: 7 enumeration values not handled in switch: 'Other', 'MixedTriggers', 'Buttons'... [-Wswitch] switch (g->control_group->type) ^ ``` --- Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp b/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp index caf2fb6b44..0b25d685ef 100644 --- a/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp +++ b/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp @@ -178,6 +178,14 @@ static void DrawControlGroupBox(wxGraphicsContext* gc, ControlGroupBox* g) case ControllerEmu::GroupType::Cursor: ((ControllerEmu::Cursor*)g->control_group)->GetState(&x, &y, &z); break; + case ControllerEmu::GroupType::Other: + case ControllerEmu::GroupType::MixedTriggers: + case ControllerEmu::GroupType::Buttons: + case ControllerEmu::GroupType::Force: + case ControllerEmu::GroupType::Extension: + case ControllerEmu::GroupType::Triggers: + case ControllerEmu::GroupType::Slider: + break; } // ir cursor forward movement