mirror of https://github.com/acidanthera/audk.git
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:
parent
2c239d62fd
commit
ce3ecf1364
|
@ -229,7 +229,6 @@ ReadString (
|
|||
return EFI_DEVICE_ERROR;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case CHAR_BACKSPACE:
|
||||
if (StringPtr[0] != CHAR_NULL && CurrentCursor != 0) {
|
||||
|
@ -881,7 +880,6 @@ TheKey2:
|
|||
}
|
||||
|
||||
goto EnterCarriageReturn;
|
||||
break;
|
||||
|
||||
case SCAN_UP:
|
||||
case SCAN_DOWN:
|
||||
|
@ -982,7 +980,6 @@ EnterCarriageReturn:
|
|||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
break;
|
||||
|
||||
case CHAR_BACKSPACE:
|
||||
if (ManualInput) {
|
||||
|
|
|
@ -568,7 +568,6 @@ PrintFormattedNumber (
|
|||
|
||||
default:
|
||||
return EFI_UNSUPPORTED;
|
||||
break;
|
||||
}
|
||||
|
||||
UnicodeSPrint (FormattedNumber, BufferSize, Format, Value);
|
||||
|
|
|
@ -3170,7 +3170,6 @@ EvaluateExpression (
|
|||
//
|
||||
Status = EFI_UNSUPPORTED;
|
||||
goto Done;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue