diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-05-23 09:54:17 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-05-24 13:42:01 +0800 |
commit | 26bd6437ca574c6285d4c47d147f96630fa5f837 (patch) | |
tree | 57c71bbc2b66bc1baf20bb265aec7937244e6b76 | |
parent | 0b58c4894dad03100c17ce5b1124c624f002700f (diff) | |
download | edk2-platforms-26bd6437ca574c6285d4c47d147f96630fa5f837.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>
-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;
|