diff options
author | Dandan Bi <dandan.bi@intel.com> | 2016-12-16 09:53:03 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-12-19 09:19:48 +0800 |
commit | 1525ff38cbbdba0b97c43b73183b6d9aa2c7fb93 (patch) | |
tree | 45fa0ccb83863441df8dae6211e444a3d479e69a | |
parent | a35dc6499beb0b76c340379a06dff74a8d38095a (diff) | |
download | edk2-platforms-1525ff38cbbdba0b97c43b73183b6d9aa2c7fb93.tar.xz |
MdeModulePkg/NonDiscoverablePciDeviceDxe: Fix VS2010/2012 build failure
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>
-rw-r--r-- | MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c b/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c index ce73a770c1..f9b13a5240 100644 --- a/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c +++ b/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c @@ -557,6 +557,7 @@ NonCoherentPciIoFreeBuffer ( Dev = NON_DISCOVERABLE_PCI_DEVICE_FROM_PCI_IO(This);
Found = FALSE;
+ Alloc = NULL;
//
// Find the uncached allocation list entry associated
|