]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c
ShellPkg/UefiShellDebug1CommandsLib: Fix coding style issues
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / DmpStore.c
index 713388150a43ebc1ba21fdf05fc50788a937b052..bb2c0b98ec6fdceccb383ad1734ef0649240fdac 100644 (file)
@@ -84,8 +84,8 @@ GetAttrType (
 /**\r
   Convert binary to hex format string.\r
 \r
-  @param[in]  BufferSize        The size in bytes of the binary data.\r
   @param[in]  Buffer            The binary data.\r
+  @param[in]  BufferSize        The size in bytes of the binary data.\r
   @param[in, out] HexString     Hex format string.\r
   @param[in]      HexStringSize The size in bytes of the string.\r
 \r
@@ -423,6 +423,7 @@ CascadeProcessVariables (
   UINTN                     NameSize;\r
   CHAR16                    *AttrString;\r
   CHAR16                    *HexString;\r
+  EFI_STATUS                SetStatus;\r
 \r
   if (ShellGetExecutionBreakFlag()) {\r
     return (SHELL_ABORTED);\r
@@ -548,7 +549,7 @@ CascadeProcessVariables (
       //\r
       // We only need name to delete it...\r
       //\r
-      EFI_STATUS SetStatus = gRT->SetVariable (FoundVarName, &FoundVarGuid, Atts, 0, NULL);\r
+      SetStatus = gRT->SetVariable (FoundVarName, &FoundVarGuid, Atts, 0, NULL);\r
       if (StandardFormatOutput) {\r
         if (SetStatus == EFI_SUCCESS) {\r
           ShellPrintHiiEx (\r