summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2017-03-14 09:34:59 +0800
committerHao Wu <hao.a.wu@intel.com>2017-03-15 10:03:23 +0800
commitf4fc7d53046e5ce7a4ae1cf586c289fdbebcbb4a (patch)
treeb000f605774ec1764171f517d0ac29de54a0dd8d /ShellPkg
parentb16dd6c86e44a10518232294f54068be6b53955b (diff)
downloadedk2-f4fc7d53046e5ce7a4ae1cf586c289fdbebcbb4a.tar.gz
edk2-f4fc7d53046e5ce7a4ae1cf586c289fdbebcbb4a.tar.bz2
edk2-f4fc7d53046e5ce7a4ae1cf586c289fdbebcbb4a.zip
ShellPkg/UefiShellBcfgCommandLib: Fix VS2012 build failure
Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c1
1 files changed, 1 insertions, 0 deletions
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));