]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Library/PlatformBootManagerLib/PlatformBootManager.c
Nt32Pkg: Fix VS2010/VS2012 build failure
[mirror_edk2.git] / Nt32Pkg / Library / PlatformBootManagerLib / PlatformBootManager.c
index dd67dab9ddb3be4dde6d46eada85889625d0e2d8..76d926b996bfd726e64bc9ae19464a88995fd192 100644 (file)
@@ -274,6 +274,8 @@ GetBootManagerMenuAppOption (
   UINTN                        Index;\r
   UINTN                        OptionNumber;\r
 \r
+  OptionNumber = 0;\r
+\r
   BootOptions = EfiBootManagerGetLoadOptions (&BootOptionCount, LoadOptionTypeBoot);\r
 \r
   for (Index = 0; Index < BootOptionCount; Index++) {\r