Reviewed-by: Qiu Shumin <[email protected]>

-----Original Message-----
From: Ni, Ruiyu 
Sent: Monday, May 23, 2016 9:55 AM
To: [email protected]
Cc: Ni, Ruiyu; Qiu, Shumin
Subject: [Patch] MdeModulePkg/PciHostBridgeDxe: Fix VS tool chain build failure

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Cc: Shumin Qiu <[email protected]>
---
 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 7881141..b2d76d6 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;
-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to