]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/NonDiscoverablePciDeviceDxe: Fix VS2010/2012 build failure
authorDandan Bi <dandan.bi@intel.com>
Fri, 16 Dec 2016 01:53:03 +0000 (09:53 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 19 Dec 2016 01:19:48 +0000 (09:19 +0800)
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c

index ce73a770c18b907630a50e2fc854ce3212b94a33..f9b13a5240550e047c35cf87fa9c50baff6aa59a 100644 (file)
@@ -557,6 +557,7 @@ NonCoherentPciIoFreeBuffer (
   Dev = NON_DISCOVERABLE_PCI_DEVICE_FROM_PCI_IO(This);\r
 \r
   Found = FALSE;\r
+  Alloc = NULL;\r
 \r
   //\r
   // Find the uncached allocation list entry associated\r