From 3af6a17f6446369e91ba370ab4c9fbc44df602d0 Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Mon, 3 Aug 2015 03:22:49 +0000 Subject: [PATCH] Fixed GCC49 build fail issue. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18126 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c | 3 +++ 1 file changed, 3 insertions(+) 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)); //