From: Eric Dong Date: Mon, 3 Aug 2015 03:22:49 +0000 (+0000) Subject: Fixed GCC49 build fail issue. X-Git-Tag: edk2-stable201903~9155 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3af6a17f6446369e91ba370ab4c9fbc44df602d0;p=mirror_edk2.git 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 --- 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)); //