From 5ce5ea60a96d01daaac4665ca1e27798c37759bb Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Mon, 1 Sep 2014 08:48:01 +0000 Subject: Fix VS2013 build failure. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16008 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'DuetPkg') diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c b/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c index 6f3979a9c2..fb41727e7a 100644 --- a/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c +++ b/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.
+Copyright (c) 2005 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -196,8 +196,9 @@ Returns: PCI_IO_DEVICE *PciIoDevice; EFI_PCI_IO_PROTOCOL *PciIo; - Status = EFI_SUCCESS; - SecBus = 0; + Status = EFI_SUCCESS; + SecBus = 0; + PciIoDevice = NULL; for (Device = 0; Device <= PCI_MAX_DEVICE; Device++) { -- cgit v1.2.3