summaryrefslogtreecommitdiff
path: root/DuetPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2014-09-01 08:48:01 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-01 08:48:01 +0000
commit5ce5ea60a96d01daaac4665ca1e27798c37759bb (patch)
treea8556438d4b0c7e0e917e74662413f29dbbeba56 /DuetPkg
parent3957a5a548bd8f8556da9d652795f99134799cef (diff)
downloadedk2-platforms-5ce5ea60a96d01daaac4665ca1e27798c37759bb.tar.xz
Fix VS2013 build failure.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16008 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg')
-rw-r--r--DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c7
1 files changed, 4 insertions, 3 deletions
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.<BR>
+Copyright (c) 2005 - 2014, Intel Corporation. All rights reserved.<BR>
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++) {