diff options
author | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-04-25 08:09:36 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-04-25 08:09:36 +0000 |
commit | 1658440eed04c9bdfb187d63992f7722ed8c4577 (patch) | |
tree | ada7170f5393d4afdafe6d5be92d9cf19efcaf1f /MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c | |
parent | 894c9c6e3f519b6a365cd505111d460bd71d2e4a (diff) | |
download | edk2-platforms-1658440eed04c9bdfb187d63992f7722ed8c4577.tar.xz |
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/SmmCorePerformanceLib.c')
-rw-r--r-- | MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c | 2 |
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;
|