From cdf6d185f6d90e8677c1ae20acd8a2a9727b0421 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Mon, 11 May 2015 10:17:36 +0200 Subject: [PATCH] Fix -Wswitch warning --- Source/Core/DolphinWX/Config/WiiConfigPane.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/DolphinWX/Config/WiiConfigPane.cpp b/Source/Core/DolphinWX/Config/WiiConfigPane.cpp index 5aef022e6b..d1038d662d 100644 --- a/Source/Core/DolphinWX/Config/WiiConfigPane.cpp +++ b/Source/Core/DolphinWX/Config/WiiConfigPane.cpp @@ -164,8 +164,8 @@ u8 WiiConfigPane::GetSADRCountryCode(DiscIO::IVolume::ELanguage language) return 157; // China case DiscIO::IVolume::LANGUAGE_KOREAN: return 136; // Korea + default: + PanicAlert("Invalid language"); + return 1; } - - PanicAlert("Invalid language"); - return 1; }