summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-30 00:13:22 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-30 00:13:22 +0000
commit952671b37eed07061deb910e337c81d65ff22e07 (patch)
treed14ae604b16547befa78acc6ce212ce24aa2caef /MdeModulePkg
parenta21f46e4b602bf97f350679a839f7b74a7661a8c (diff)
downloadedk2-platforms-952671b37eed07061deb910e337c81d65ff22e07.tar.xz
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c2
1 files changed, 2 insertions, 0 deletions
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);