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/DxeCorePerformanceLib | |
parent | 894c9c6e3f519b6a365cd505111d460bd71d2e4a (diff) | |
download | edk2-1658440eed04c9bdfb187d63992f7722ed8c4577.zip edk2-1658440eed04c9bdfb187d63992f7722ed8c4577.tar.gz edk2-1658440eed04c9bdfb187d63992f7722ed8c4577.tar.bz2 |
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/DxeCorePerformanceLib')
-rw-r--r-- | MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c index 08d295c..696aa66 100644 --- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c +++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c @@ -408,6 +408,8 @@ GetGauge ( EFI_STATUS Status;
GAUGE_DATA_ENTRY_EX *GaugeEntryEx;
+ GaugeEntryEx = NULL;
+
Status = GetGaugeEx (LogEntryKey, &GaugeEntryEx);
if (EFI_ERROR (Status)) {
return Status;
|