diff options
author | Gao, Liming <liming.gao@intel.com> | 2014-06-27 19:15:35 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-06-27 19:15:35 +0000 |
commit | 8c01a99b8472f231e746c7eb9bade0ddddf2b445 (patch) | |
tree | 0cc50f29ee9c727927250b9e2847673026b656a7 /OvmfPkg/QemuFlashFvbServicesRuntimeDxe | |
parent | 891d8445b51b416bfe18fde3ef750f443cecc7c0 (diff) | |
download | edk2-platforms-8c01a99b8472f231e746c7eb9bade0ddddf2b445.tar.xz |
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
Diffstat (limited to 'OvmfPkg/QemuFlashFvbServicesRuntimeDxe')
-rw-r--r-- | OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c b/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c index 7d26c41ccc..7827b72be1 100644 --- a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c +++ b/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c @@ -197,6 +197,7 @@ Returns: {
EFI_FW_VOL_INSTANCE *FwhRecord;
+ *FwhInstance = NULL;
if (Instance >= Global->NumFv) {
return EFI_INVALID_PARAMETER;
}
|