From 3a078aefb63d71945efe58b0627ccc25a936a154 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 5 Dec 2014 19:09:02 +0000 Subject: [PATCH] Fix a few default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default] warnings. llvm-svn: 223499 --- lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp | 6 ------ 1 file changed, 6 deletions(-) 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;