X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=DuetPkg%2FPciBusNoEnumerationDxe%2FPciEnumeratorSupport.c;h=fb41727e7ac4ff082ddc6d069028b4ab82f6f1fd;hp=6f3979a9c26141d4b6cce281a70499c19378e8f9;hb=5ce5ea60a96d01daaac4665ca1e27798c37759bb;hpb=3957a5a548bd8f8556da9d652795f99134799cef 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++) {