summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/UefiBootManagerLib
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-08-02 10:26:50 +0800
committerLiming Gao <liming.gao@intel.com>2016-08-03 15:20:42 +0800
commite9e44f654711c894bedd24ae1db7a6a2b106dc19 (patch)
tree93abf5571d3da96d2344106389042c547f3b90ea /MdeModulePkg/Library/UefiBootManagerLib
parent4884e81b5d0da1bcc05361dd4c5fc06b3722f144 (diff)
downloadedk2-e9e44f654711c894bedd24ae1db7a6a2b106dc19.tar.gz
edk2-e9e44f654711c894bedd24ae1db7a6a2b106dc19.tar.bz2
edk2-e9e44f654711c894bedd24ae1db7a6a2b106dc19.zip
MdeModulePkg UefiBootManagerLib: Fix VS2012 build failure
Initialize local variable Description as NULL first. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/UefiBootManagerLib')
-rw-r--r--MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
index d5818ca069..ecd0ae3822 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
+++ b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
@@ -2213,6 +2213,7 @@ BmRegisterBootManagerMenu (
UINTN DataSize;
DevicePath = NULL;
+ Description = NULL;
//
// Try to find BootMenuApp from LoadFile protocol
//