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
This commit is contained in:
lzeng14 2012-04-25 08:09:36 +00:00
parent 894c9c6e3f
commit 1658440eed
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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;