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:
oliviermartin 2011-12-29 12:15:08 +00:00
parent c8641de387
commit e7b872fd02
1 changed files with 1 additions and 0 deletions

View File

@ -792,6 +792,7 @@ FfsProcessFvFile (
//
// Collect FvImage Info.
//
ZeroMem (&FvImageInfo, sizeof (FvImageInfo));
Status = FfsGetVolumeInfo (FvImageHandle, &FvImageInfo);
ASSERT_EFI_ERROR (Status);