From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by ml01.01.org (Postfix) with ESMTP id A4DCE1A1E24 for ; Mon, 1 Aug 2016 19:36:30 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 01 Aug 2016 19:36:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,458,1464678000"; d="scan'208";a="1006696030" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.23]) by orsmga001.jf.intel.com with ESMTP; 01 Aug 2016 19:36:31 -0700 From: Liming Gao To: edk2-devel@lists.01.org Date: Tue, 2 Aug 2016 10:36:28 +0800 Message-Id: <1470105388-13612-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [Patch] MdeModulePkg UefiBootManagerLib: Fix VS2012 build failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 02:36:30 -0000 Initialize local variable Description as NULL first. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- 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