MdeModulePkg/BM: Initialize variable before use

This commit is contained in:
Tim Crawford
2020-05-20 16:26:41 -06:00
parent 8222473c5d
commit e61bb9222c

View File

@@ -484,7 +484,7 @@ UpdateBootManager (
BOOLEAN IsLegacyOption; BOOLEAN IsLegacyOption;
BOOLEAN NeedEndOp; BOOLEAN NeedEndOp;
UINTN MaxLen; UINTN MaxLen;
UINTN OptionCount; UINTN OptionCount = 0;
DeviceType = (UINT16) -1; DeviceType = (UINT16) -1;