summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdeModulePkg/Application/UiApp/BootMaint/BootMaint.c7
-rw-r--r--MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c2
2 files changed, 0 insertions, 9 deletions
diff --git a/MdeModulePkg/Application/UiApp/BootMaint/BootMaint.c b/MdeModulePkg/Application/UiApp/BootMaint/BootMaint.c
index 0a187f5696..98c46668f1 100644
--- a/MdeModulePkg/Application/UiApp/BootMaint/BootMaint.c
+++ b/MdeModulePkg/Application/UiApp/BootMaint/BootMaint.c
@@ -552,9 +552,6 @@ BootMaintCallback (
BMM_CALLBACK_DATA *Private;
BM_MENU_ENTRY *NewMenuEntry;
BMM_FAKE_NV_DATA *CurrentFakeNVMap;
- UINTN OldValue;
- UINTN NewValue;
- UINTN Number;
UINTN Index;
//
@@ -574,10 +571,6 @@ BootMaintCallback (
return EFI_UNSUPPORTED;
}
- OldValue = 0;
- NewValue = 0;
- Number = 0;
-
Private = BMM_CALLBACK_DATA_FROM_THIS (This);
//
diff --git a/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c b/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c
index c9df7baeb6..73f451c43c 100644
--- a/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c
+++ b/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c
@@ -607,7 +607,6 @@ UpdateOrderPage (
UINT16 Index;
UINT16 OptionIndex;
VOID *OptionsOpCodeHandle;
- BM_LOAD_CONTEXT *NewLoadContext;
BOOLEAN BootOptionFound;
UINT32 *OptionOrder;
EFI_QUESTION_ID QuestionId;
@@ -647,7 +646,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;