diff --git a/MdeModulePkg/Universal/Disk/CdExpressPei/PeiCdExpress.c b/MdeModulePkg/Universal/Disk/CdExpressPei/PeiCdExpress.c index 2f8d1abed0..f78118a6a8 100644 --- a/MdeModulePkg/Universal/Disk/CdExpressPei/PeiCdExpress.c +++ b/MdeModulePkg/Universal/Disk/CdExpressPei/PeiCdExpress.c @@ -162,6 +162,8 @@ UpdateBlocksAndVolumes ( EFI_PEI_SERVICES **PeiServices; IndexBlockDevice = 0; + BlockIo2Ppi = NULL; + BlockIoPpi = NULL; // // Find out all Block Io Ppi instances within the system // Assuming all device Block Io Peims are dispatched already