diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c index 62a0a55063..656949300e 100644 --- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c +++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c @@ -600,6 +600,8 @@ GetPerformanceMeasurement ( EFI_STATUS Status; GAUGE_DATA_ENTRY *GaugeData; + GaugeData = NULL; + ASSERT (Handle != NULL); ASSERT (Token != NULL); ASSERT (Module != NULL);