From e9e44f654711c894bedd24ae1db7a6a2b106dc19 Mon Sep 17 00:00:00 2001
From: Liming Gao <liming.gao@intel.com>
Date: Tue, 2 Aug 2016 10:26:50 +0800
Subject: [PATCH] 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>
---
 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 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
   //