MdeModulePkg/BM: Initialize variable before use
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user