]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.c
ShellPkg/UefiShellAcpiViewCommandLib: Fix GCC build failure
[mirror_edk2.git] / ShellPkg / Library / UefiShellAcpiViewCommandLib / UefiShellAcpiViewCommandLib.c
index 8479bfbc9be06533cb4f94388fb3512757b13451..245700a2534552d9786ecb109dc1b3c9fa793495 100644 (file)
@@ -64,7 +64,11 @@ RegisterAllParsers (
   )\r
 {\r
   EFI_STATUS Status;\r
-  UINTN Count = sizeof (ParserList) / sizeof (ParserList[0]);\r
+  UINTN Count;\r
+\r
+  Status = EFI_SUCCESS;\r
+  Count = sizeof (ParserList) / sizeof (ParserList[0]);\r
+\r
   while (Count-- != 0) {\r
     Status = RegisterParser (\r
                ParserList[Count].Signature,\r