]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 30 Oct 2007 00:13:22 +0000 (00:13 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 30 Oct 2007 00:13:22 +0000 (00:13 +0000)
  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

MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c

index 62a0a55063c35fb83c16c5b0e5992fbd5d871baa..656949300e059094a09b18b6bcbc586f6eaeb828 100644 (file)
@@ -600,6 +600,8 @@ GetPerformanceMeasurement (
   EFI_STATUS        Status;\r
   GAUGE_DATA_ENTRY  *GaugeData;\r
 \r
+  GaugeData = NULL;\r
+  \r
   ASSERT (Handle != NULL);\r
   ASSERT (Token != NULL);\r
   ASSERT (Module != NULL);\r