mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Fix GCC44 build failure.
Initialize the input parameter FwhInstance in function GetFvbInstance(). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Gao, Liming" <liming.gao@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15601 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
891d8445b5
commit
8c01a99b84
@ -197,6 +197,7 @@ Returns:
|
|||||||
{
|
{
|
||||||
EFI_FW_VOL_INSTANCE *FwhRecord;
|
EFI_FW_VOL_INSTANCE *FwhRecord;
|
||||||
|
|
||||||
|
*FwhInstance = NULL;
|
||||||
if (Instance >= Global->NumFv) {
|
if (Instance >= Global->NumFv) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user