From f4fc7d53046e5ce7a4ae1cf586c289fdbebcbb4a Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Tue, 14 Mar 2017 09:34:59 +0800 Subject: ShellPkg/UefiShellBcfgCommandLib: Fix VS2012 build failure Cc: Ruiyu Ni Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Reviewed-by: Jaben Carsey Reviewed-by: Ruiyu Ni --- ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ShellPkg') diff --git a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c index 1538bc6577..1122c89b8b 100644 --- a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c +++ b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c @@ -402,6 +402,7 @@ BcfgMod ( ShellStatus = SHELL_SUCCESS; FileList = NULL; DevicePath = NULL; + DevicePathBuffer = NULL; ZeroMem (&LoadOption, sizeof(EFI_BOOT_MANAGER_LOAD_OPTION)); -- cgit v1.2.3