summaryrefslogtreecommitdiffstats
path: root/FatPkg
diff options
context:
space:
mode:
Diffstat (limited to 'FatPkg')
-rw-r--r--FatPkg/FatPei/Gpt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/FatPkg/FatPei/Gpt.c b/FatPkg/FatPei/Gpt.c
index c3afb668d7..bba33c5bfd 100644
--- a/FatPkg/FatPei/Gpt.c
+++ b/FatPkg/FatPei/Gpt.c
@@ -244,6 +244,9 @@ PartitionCheckGptEntryArray (
UINTN Index2;
EFI_PARTITION_ENTRY *Entry;
+ PartitionEntryBuffer = NULL;
+ PartitionEntryStatus = NULL;
+
ParentBlockDev = &(PrivateData->BlockDevice[ParentBlockDevNo]);
Found = FALSE;