Remove a pair of default values from fully covered switches.

llvm-svn: 217424
This commit is contained in:
Eric Christopher 2014-09-09 06:35:14 +00:00
parent e551d183db
commit fa0f79207c
1 changed files with 0 additions and 2 deletions

View File

@ -1104,7 +1104,6 @@ bool CMIDriver::SetDriverStateRunningNotDebugging( void )
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::SetDriverStateRunningDebugging( void )
case eDriverState_RunningNotDebugging:
break;
case eDriverState_count:
default:
SetErrorDescription( CMIUtilString::Format( MIRSRC( IDS_CODE_ERR_INVALID_ENUMERATION_VALUE ), "SetDriverStateRunningDebugging()" ) );
return MIstatus::failure;
}