diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-05-23 09:54:17 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-18 12:40:51 +0800 |
commit | 204eae9f5b661d37274d91ced478079a8b98f63b (patch) | |
tree | ab480942e2c5b4f5d9bd3751939ce60fddce37f4 /MdeModulePkg | |
parent | d4ebbefea510f6ac5e16a0893b08026b24a1e704 (diff) | |
download | edk2-platforms-204eae9f5b661d37274d91ced478079a8b98f63b.tar.xz |
MdeModulePkg/PciHostBridgeDxe: Fix VS tool chain build failure
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Shumin Qiu <shumin.qiu@intel.com>
(cherry picked from commit 26bd6437ca574c6285d4c47d147f96630fa5f837)
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c index 78811419bf..b2d76d67af 100644 --- a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c +++ b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c @@ -199,6 +199,7 @@ CreateRootBridge ( break;
default:
ASSERT (FALSE);
+ Aperture = NULL;
break;
}
RootBridge->ResAllocNode[Index].Type = Index;
|