From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 692EB802AE for ; Tue, 14 Mar 2017 18:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489542469; x=1521078469; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=dohpel61caLyornl8Lxs8/RcFJHOWPlTo4OohmjOSQA=; b=FXwqLsp2RLM/FziXWhNDA+SsAqyGW3lCqYoTBQo0IPQ5vxh+U+kPHb1Q B/iGTuV2DMR9DERKfwiEyV82//Ocpg==; Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2017 18:47:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,166,1486454400"; d="scan'208";a="1122636367" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 14 Mar 2017 18:47:49 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 14 Mar 2017 18:47:48 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 14 Mar 2017 18:47:48 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.59]) by shsmsx102.ccr.corp.intel.com ([169.254.2.88]) with mapi id 14.03.0248.002; Wed, 15 Mar 2017 09:47:45 +0800 From: "Ni, Ruiyu" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "Carsey, Jaben" Thread-Topic: [edk2] [patch] ShellPkg/UefiShellBcfgCommandLib: Fix VS2012 build failure Thread-Index: AQHSnGPZJ1Xcv1lQSkKQeRYOGjoVxqGVI1iA Date: Wed, 15 Mar 2017 01:47:45 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5B8C9E8F@SHSMSX104.ccr.corp.intel.com> References: <1489455554-94000-1-git-send-email-dandan.bi@intel.com> <1489455554-94000-2-git-send-email-dandan.bi@intel.com> In-Reply-To: <1489455554-94000-2-git-send-email-dandan.bi@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch] ShellPkg/UefiShellBcfgCommandLib: 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: Wed, 15 Mar 2017 01:47:49 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dandan, Thanks so much for fixing this build failure. I should have done that. Thanks/Ray > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Dandan Bi > Sent: Tuesday, March 14, 2017 9:39 AM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Carsey, Jaben > Subject: [edk2] [patch] ShellPkg/UefiShellBcfgCommandLib: Fix VS2012 buil= d > failure >=20 > Cc: Ruiyu Ni > Cc: Jaben Carsey > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Dandan Bi > --- > ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c | 1 > + > 1 file changed, 1 insertion(+) >=20 > diff --git > a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c > b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c > index 1538bc6..1122c89 100644 > --- > a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c > +++ > b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c > @@ -400,10 +400,11 @@ BcfgMod ( > EFI_BOOT_MANAGER_LOAD_OPTION LoadOption; >=20 > ShellStatus =3D SHELL_SUCCESS; > FileList =3D NULL; > DevicePath =3D NULL; > + DevicePathBuffer =3D NULL; >=20 > ZeroMem (&LoadOption, sizeof(EFI_BOOT_MANAGER_LOAD_OPTION)); >=20 > if ( (BcfgOperation->Type =3D=3D BcfgTypeMod && BcfgOperation->Descri= ption > =3D=3D NULL) || > (BcfgOperation->Type =3D=3D BcfgTypeModf && BcfgOperation->FileNa= me > =3D=3D NULL) || > -- > 1.9.5.msysgit.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel