summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2014-09-29 09:02:57 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-29 09:02:57 +0000
commit831537d6ca574a6bf579a4797dd66eed3548a016 (patch)
tree55b006699fdd77f22c253aec01d72f2673063962 /MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
parentcec6685c7d343a14cae47c878c5239da49566b2c (diff)
downloadedk2-831537d6ca574a6bf579a4797dd66eed3548a016.zip
edk2-831537d6ca574a6bf579a4797dd66eed3548a016.tar.gz
edk2-831537d6ca574a6bf579a4797dd66eed3548a016.tar.bz2
Removes some unused assigned variables.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16189 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c')
-rw-r--r--MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c b/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
index 78dd104..f76937a 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/InputHandler.c
@@ -439,7 +439,6 @@ GetNumericInput (
IN UI_MENU_OPTION *MenuOption
)
{
- EFI_STATUS Status;
UINTN Column;
UINTN Row;
CHAR16 InputText[MAX_NUMERIC_INPUT_WIDTH];
@@ -685,7 +684,7 @@ GetNumericInput (
goto TheKey2;
}
- Status = WaitForKeyStroke (&Key);
+ WaitForKeyStroke (&Key);
TheKey2:
switch (Key.UnicodeChar) {
@@ -1118,7 +1117,6 @@ GetSelectionInputPopUp (
IN UI_MENU_OPTION *MenuOption
)
{
- EFI_STATUS Status;
EFI_INPUT_KEY Key;
UINTN Index;
CHAR16 *StringPtr;
@@ -1351,7 +1349,7 @@ GetSelectionInputPopUp (
goto TheKey;
}
- Status = WaitForKeyStroke (&Key);
+ WaitForKeyStroke (&Key);
TheKey:
switch (Key.UnicodeChar) {
@@ -1505,7 +1503,6 @@ TheKey:
} else {
gUserInput->InputValue.Buffer = ReturnValue;
gUserInput->InputValue.BufferLen = Question->CurrentValue.BufferLen;
- Status = EFI_SUCCESS;
}
} else {
ASSERT (CurrentOption != NULL);
@@ -1514,7 +1511,6 @@ TheKey:
return EFI_DEVICE_ERROR;
} else {
SetValuesByType (&gUserInput->InputValue.Value, &CurrentOption->OptionOpCode->Value, gUserInput->InputValue.Type);
- Status = EFI_SUCCESS;
}
}