[Lldb-commits] [lldb] r217424 - Remove a pair of default values from fully covered switches.
Eric Christopher
echristo at gmail.com
Mon Sep 8 23:35:14 PDT 2014
Author: echristo
Date: Tue Sep 9 01:35:14 2014
New Revision: 217424
URL: http://llvm.org/viewvc/llvm-project?rev=217424&view=rev
Log:
Remove a pair of default values from fully covered switches.
Modified:
lldb/trunk/tools/lldb-mi/MIDriver.cpp
Modified: lldb/trunk/tools/lldb-mi/MIDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIDriver.cpp?rev=217424&r1=217423&r2=217424&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIDriver.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MIDriver.cpp Tue Sep 9 01:35:14 2014
@@ -1104,7 +1104,6 @@ bool CMIDriver::SetDriverStateRunningNot
case eDriverState_RunningNotDebugging:
break;
case eDriverState_count:
- default:
SetErrorDescription( CMIUtilString::Format( MIRSRC( IDS_CODE_ERR_INVALID_ENUMERATION_VALUE ), "SetDriverStateRunningNotDebugging()" ) );
return MIstatus::failure;
}
@@ -1152,7 +1151,6 @@ bool CMIDriver::SetDriverStateRunningDeb
case eDriverState_RunningNotDebugging:
break;
case eDriverState_count:
- default:
SetErrorDescription( CMIUtilString::Format( MIRSRC( IDS_CODE_ERR_INVALID_ENUMERATION_VALUE ), "SetDriverStateRunningDebugging()" ) );
return MIstatus::failure;
}
More information about the lldb-commits
mailing list