From ae373a56f7f630123336034c41ec8051596be8da Mon Sep 17 00:00:00 2001 From: rsun3 Date: Mon, 14 Mar 2011 03:47:31 +0000 Subject: [PATCH] Fix a bug in SmmPerformanceLib that there is no return value in normal cases for GetPerformanceMeasurement(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11386 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c b/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c index 982d8ac43a..106155984a 100644 --- a/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c +++ b/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c @@ -266,6 +266,7 @@ GetPerformanceMeasurement ( *StartTimeStamp = GaugeData->StartTimeStamp; *EndTimeStamp = GaugeData->EndTimeStamp; + return LogEntryKey; } /** -- 2.39.2