summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-12-05 19:09:02 +0000
committerEric Christopher <echristo@gmail.com>2014-12-05 19:09:02 +0000
commit3a078aefb63d71945efe58b0627ccc25a936a154 (patch)
treec0651ec6660036154de85034beace272321fc1c7
parent0a526eb85588fbf9cab4a6f95449651311f367e1 (diff)
downloadbcm5719-llvm-3a078aefb63d71945efe58b0627ccc25a936a154.tar.gz
bcm5719-llvm-3a078aefb63d71945efe58b0627ccc25a936a154.zip
Fix a few default label in switch which covers all
enumeration values [-Werror,-Wcovered-switch-default] warnings. llvm-svn: 223499
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
index acf99be1388..b86909fabad 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;
OpenPOWER on IntegriCloud