]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg/UefiShellDebug1CommandsLib: Fix coding style issues
authorDandan Bi <dandan.bi@intel.com>
Mon, 12 Dec 2016 06:11:14 +0000 (14:11 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 14 Dec 2016 13:34:32 +0000 (21:34 +0800)
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
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