mirror of https://github.com/acidanthera/audk.git
MdeModulePkg PeiCore: Fix VS2012 build failure
fwvol.c(1572) : warning C4701: potentially uninitialized
local variable 'Status' used
The build failure is caused by
0e042d0ad7
for
https://bugzilla.tianocore.org/show_bug.cgi?id=1131
This patch initializes Status to fix the build failure.
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
This commit is contained in:
parent
865d7f7b01
commit
8a204b2aca
|
@ -1412,6 +1412,8 @@ ProcessFvFile (
|
|||
ParentFvHandle = ParentFvCoreHandle->FvHandle;
|
||||
ParentFvPpi = ParentFvCoreHandle->FvPpi;
|
||||
|
||||
Status = EFI_SUCCESS;
|
||||
|
||||
//
|
||||
// Find FvImage(s) in FvFile
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue