MdeModulePkg: remove unreachable code

Some compilers (like RVCT) are finicky about unreachable code,
so remove it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19106 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Ard Biesheuvel 2015-12-03 08:51:17 +00:00 committed by abiesheuvel
parent 2c239d62fd
commit ce3ecf1364
3 changed files with 0 additions and 5 deletions

View File

@ -229,7 +229,6 @@ ReadString (
return EFI_DEVICE_ERROR; return EFI_DEVICE_ERROR;
} }
break;
case CHAR_BACKSPACE: case CHAR_BACKSPACE:
if (StringPtr[0] != CHAR_NULL && CurrentCursor != 0) { if (StringPtr[0] != CHAR_NULL && CurrentCursor != 0) {
@ -881,7 +880,6 @@ TheKey2:
} }
goto EnterCarriageReturn; goto EnterCarriageReturn;
break;
case SCAN_UP: case SCAN_UP:
case SCAN_DOWN: case SCAN_DOWN:
@ -982,7 +980,6 @@ EnterCarriageReturn:
} }
return EFI_SUCCESS; return EFI_SUCCESS;
break;
case CHAR_BACKSPACE: case CHAR_BACKSPACE:
if (ManualInput) { if (ManualInput) {

View File

@ -568,7 +568,6 @@ PrintFormattedNumber (
default: default:
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
break;
} }
UnicodeSPrint (FormattedNumber, BufferSize, Format, Value); UnicodeSPrint (FormattedNumber, BufferSize, Format, Value);

View File

@ -3170,7 +3170,6 @@ EvaluateExpression (
// //
Status = EFI_UNSUPPORTED; Status = EFI_UNSUPPORTED;
goto Done; goto Done;
break;
} }
} else { } else {
// //