MdeModulePkg/VarCheckHiiLib: Remove unused variable FfsIndex

Corrects compiler warning due to unused variable in VarCheckHiiGenFromFv

Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
This commit is contained in:
Savva Mitrofanov 2022-12-26 16:34:27 +06:00 committed by Mikhail Krichanov
parent 4e98b06fab
commit bcd8e61383
1 changed files with 1 additions and 2 deletions

View File

@ -260,7 +260,6 @@ ParseFv (
EFI_GUID NameGuid;
EFI_FV_FILE_ATTRIBUTES FileAttributes;
UINTN Size;
UINTN FfsIndex;
VAR_CHECK_VFR_DRIVER_INFO *VfrDriverInfo;
LIST_ENTRY *VfrDriverLink;
@ -315,7 +314,7 @@ ParseFv (
Key = InternalVarCheckAllocateZeroPool (Fv2->KeySize);
ASSERT (Key != NULL);
for (FfsIndex = 0; ; FfsIndex++) {
while (TRUE) {
FileType = EFI_FV_FILETYPE_ALL;
Status = Fv2->GetNextFile (
Fv2,