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:
@@ -408,6 +408,8 @@ GetGauge (
|
|||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
GAUGE_DATA_ENTRY_EX *GaugeEntryEx;
|
GAUGE_DATA_ENTRY_EX *GaugeEntryEx;
|
||||||
|
|
||||||
|
GaugeEntryEx = NULL;
|
||||||
|
|
||||||
Status = GetGaugeEx (LogEntryKey, &GaugeEntryEx);
|
Status = GetGaugeEx (LogEntryKey, &GaugeEntryEx);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return Status;
|
return Status;
|
||||||
|
@@ -422,6 +422,8 @@ GetGauge (
|
|||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
GAUGE_DATA_ENTRY_EX *GaugeEntryEx;
|
GAUGE_DATA_ENTRY_EX *GaugeEntryEx;
|
||||||
|
|
||||||
|
GaugeEntryEx = NULL;
|
||||||
|
|
||||||
Status = GetGaugeEx (LogEntryKey, &GaugeEntryEx);
|
Status = GetGaugeEx (LogEntryKey, &GaugeEntryEx);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return Status;
|
return Status;
|
||||||
|
Reference in New Issue
Block a user