From 952671b37eed07061deb910e337c81d65ff22e07 Mon Sep 17 00:00:00 2001 From: jljusten Date: Tue, 30 Oct 2007 00:13:22 +0000 Subject: [PATCH] MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c: Pre-initialize GuageData variable to remove compiler warning. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4238 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2