mirror of https://github.com/acidanthera/audk.git
EmbeddedPkg/PrePiLib: Ensure FvImageInfo has been initialized to zero
Signed-off-by: lgao4 Reviewed-by: oliviermartin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12900 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c8641de387
commit
e7b872fd02
|
@ -792,6 +792,7 @@ FfsProcessFvFile (
|
||||||
//
|
//
|
||||||
// Collect FvImage Info.
|
// Collect FvImage Info.
|
||||||
//
|
//
|
||||||
|
ZeroMem (&FvImageInfo, sizeof (FvImageInfo));
|
||||||
Status = FfsGetVolumeInfo (FvImageHandle, &FvImageInfo);
|
Status = FfsGetVolumeInfo (FvImageHandle, &FvImageInfo);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue