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:
Dandan Bi 2016-09-06 13:15:21 +08:00 committed by Ruiyu Ni
parent acc3a3776d
commit e9fec7326a
1 changed files with 2 additions and 0 deletions

View File

@ -274,6 +274,8 @@ GetBootManagerMenuAppOption (
UINTN Index;
UINTN OptionNumber;
OptionNumber = 0;
BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot);
for (Index = 0; Index < BootOptionCount; Index++) {