summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2015-08-03 03:22:49 +0000
committerydong10 <ydong10@Edk2>2015-08-03 03:22:49 +0000
commit3af6a17f6446369e91ba370ab4c9fbc44df602d0 (patch)
treed88b92da5dc416e78872acd933e92c2ab6933f4c /IntelFrameworkModulePkg
parent3d44658ca89b36a492ba2ab648617d53be2693fd (diff)
downloadedk2-platforms-3af6a17f6446369e91ba370ab4c9fbc44df602d0.tar.xz
Fixed GCC49 build fail issue.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18126 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c b/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c
index f3a09b0c2d..7ca4b8dec3 100644
--- a/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c
+++ b/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c
@@ -1181,6 +1181,9 @@ GetLegacyOptionsOrder (
UINTN Bit;
UINT8 *DisMap;
+ LegacyDev = NULL;
+ OptionMenu = NULL;
+
DisMap = ZeroMem (mLegacyBootOptionPrivate->MaintainMapData->DisableMap, sizeof (mLegacyBootOptionPrivate->MaintainMapData->DisableMap));
//