public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch] MdeModulePkg UefiBootManagerLib: Fix VS2012 build failure
@ 2016-08-02  2:36 Liming Gao
  2016-08-02  5:31 ` Tian, Feng
  0 siblings, 1 reply; 2+ messages in thread
From: Liming Gao @ 2016-08-02  2:36 UTC (permalink / raw)
  To: edk2-devel

Initialize local variable Description as NULL first.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
 MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
index d5818ca..ecd0ae3 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
   //
-- 
2.8.0.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-02  5:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-02  2:36 [Patch] MdeModulePkg UefiBootManagerLib: Fix VS2012 build failure Liming Gao
2016-08-02  5:31 ` Tian, Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox