mirror of https://github.com/acidanthera/audk.git
Nt32Pkg: Fix VS2010/VS2012 build failure
Initialize the variable "OptionNumber". Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
parent
acc3a3776d
commit
e9fec7326a
|
@ -274,6 +274,8 @@ GetBootManagerMenuAppOption (
|
|||
UINTN Index;
|
||||
UINTN OptionNumber;
|
||||
|
||||
OptionNumber = 0;
|
||||
|
||||
BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot);
|
||||
|
||||
for (Index = 0; Index < BootOptionCount; Index++) {
|
||||
|
|
Loading…
Reference in New Issue