summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2014-09-29 08:46:31 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-29 08:46:31 +0000
commite7a2064ec72db92ba644a5f8deace5d7e05ec3d2 (patch)
tree043690657cd1c3e064a4251aea81232a8a62dc4e /IntelFrameworkModulePkg
parent3dfe9247cef656a40407a46af5e2e4e04757a646 (diff)
downloadedk2-platforms-e7a2064ec72db92ba644a5f8deace5d7e05ec3d2.tar.xz
Removes some unused assigned variables. Some compiler (GCC in this case) raises a warning/error.
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@16187 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c
index 20e17dd858..7d5861e9fe 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c
@@ -543,7 +543,6 @@ UpdateOrderPage (
UINT16 Index;
UINT16 OptionIndex;
VOID *OptionsOpCodeHandle;
- BM_LOAD_CONTEXT *NewLoadContext;
BOOLEAN BootOptionFound;
UINT32 *OptionOrder;
EFI_QUESTION_ID QuestionId;
@@ -583,7 +582,6 @@ UpdateOrderPage (
BootOptionFound = FALSE;
for (Index = 0; Index < OptionMenu->MenuNumber; Index++) {
NewMenuEntry = BOpt_GetMenuEntry (OptionMenu, Index);
- NewLoadContext = (BM_LOAD_CONTEXT *) NewMenuEntry->VariableContext;
if ((UINT32) (NewMenuEntry->OptionNumber + 1) == OptionOrder[OptionIndex]) {
BootOptionFound = TRUE;
break;
@@ -892,7 +890,6 @@ UpdateTerminalPage (
UINT8 Index;
UINT8 CheckFlags;
BM_MENU_ENTRY *NewMenuEntry;
- BM_TERMINAL_CONTEXT *NewTerminalContext;
VOID *OptionsOpCodeHandle;
UINTN CurrentTerminal;
@@ -908,8 +905,6 @@ UpdateTerminalPage (
return ;
}
- NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext;
-
OptionsOpCodeHandle = HiiAllocateOpCodeHandle ();
ASSERT (OptionsOpCodeHandle != NULL);