diff options
author | Liming Gao <liming.gao@intel.com> | 2016-08-02 10:26:50 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-08-03 15:20:42 +0800 |
commit | e9e44f654711c894bedd24ae1db7a6a2b106dc19 (patch) | |
tree | 93abf5571d3da96d2344106389042c547f3b90ea /MdeModulePkg/Library | |
parent | 4884e81b5d0da1bcc05361dd4c5fc06b3722f144 (diff) | |
download | edk2-platforms-e9e44f654711c894bedd24ae1db7a6a2b106dc19.tar.xz |
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')
-rw-r--r-- | MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 1 |
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
//
|