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:
Gao, Liming 2014-06-27 19:15:35 +00:00 committed by jljusten
parent 891d8445b5
commit 8c01a99b84
1 changed files with 1 additions and 0 deletions

View File

@ -197,6 +197,7 @@ Returns:
{
EFI_FW_VOL_INSTANCE *FwhRecord;
*FwhInstance = NULL;
if (Instance >= Global->NumFv) {
return EFI_INVALID_PARAMETER;
}