summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2011-03-14 03:47:31 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2011-03-14 03:47:31 +0000
commitae373a56f7f630123336034c41ec8051596be8da (patch)
tree132b8a3f368fd09ac0c36be5ec1a219a0679c856 /MdeModulePkg/Library
parentd0a3ead23538cd56084aeacf60edcf7fd8b8e4b9 (diff)
downloadedk2-ae373a56f7f630123336034c41ec8051596be8da.tar.gz
edk2-ae373a56f7f630123336034c41ec8051596be8da.tar.bz2
edk2-ae373a56f7f630123336034c41ec8051596be8da.zip
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
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r--MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c1
1 files changed, 1 insertions, 0 deletions
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;
}
/**