From 26bd6437ca574c6285d4c47d147f96630fa5f837 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Mon, 23 May 2016 09:54:17 +0800 Subject: [PATCH] MdeModulePkg/PciHostBridgeDxe: Fix VS tool chain build failure Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Shumin Qiu --- MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c | 1 + 1 file changed, 1 insertion(+) 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;