MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c:
authorjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 30 Oct 2007 00:13:22 +0000 (00:13 +0000)
committerjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 30 Oct 2007 00:13:22 +0000 (00:13 +0000)
  Pre-initialize GuageData variable to remove compiler warning.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4238 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c

index 62a0a55..6569493 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