summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/SmmCorePerformanceLib
diff options
context:
space:
mode:
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2012-04-25 08:09:36 +0000
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2012-04-25 08:09:36 +0000
commit1658440eed04c9bdfb187d63992f7722ed8c4577 (patch)
treeada7170f5393d4afdafe6d5be92d9cf19efcaf1f /MdeModulePkg/Library/SmmCorePerformanceLib
parent894c9c6e3f519b6a365cd505111d460bd71d2e4a (diff)
downloadedk2-1658440eed04c9bdfb187d63992f7722ed8c4577.tar.gz
edk2-1658440eed04c9bdfb187d63992f7722ed8c4577.tar.bz2
edk2-1658440eed04c9bdfb187d63992f7722ed8c4577.zip
Fix UNIX GCC build fail.
Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13218 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/SmmCorePerformanceLib')
-rw-r--r--MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c b/MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c
index 5ee1f603d1..ca953df932 100644
--- a/MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c
+++ b/MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c
@@ -422,6 +422,8 @@ GetGauge (
EFI_STATUS Status;
GAUGE_DATA_ENTRY_EX *GaugeEntryEx;
+ GaugeEntryEx = NULL;
+
Status = GetGaugeEx (LogEntryKey, &GaugeEntryEx);
if (EFI_ERROR (Status)) {
return Status;