From: Eric Christopher Date: Fri, 5 Dec 2014 19:09:02 +0000 (+0000) Subject: Fix a few default label in switch which covers all X-Git-Tag: llvmorg-3.6.0-rc1~2311 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a078aefb63d71945efe58b0627ccc25a936a154;p=platform%2Fupstream%2Fllvm.git Fix a few default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default] warnings. llvm-svn: 223499 --- diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp index acf99be13883..b86909fabadc 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp @@ -1250,8 +1250,6 @@ PlatformDarwin::SDKSupportsModules (SDKType sdk_type, uint32_t major, uint32_t m { switch (sdk_type) { - default: - return false; case SDKType::MacOSX: if (major > 10 || (major == 10 && minor >= 10)) return true; @@ -1366,8 +1364,6 @@ PlatformDarwin::GetSDKDirectoryForModules (SDKType sdk_type) { switch (sdk_type) { - default: - return FileSpec(); case SDKType::MacOSX: case SDKType::iPhoneSimulator: case SDKType::iPhoneOS: @@ -1380,8 +1376,6 @@ PlatformDarwin::GetSDKDirectoryForModules (SDKType sdk_type) switch (sdk_type) { - default: - return FileSpec(); case SDKType::MacOSX: sdks_spec.AppendPathComponent("MacOSX.platform"); break;