From: Dandan Bi Date: Mon, 12 Dec 2016 06:11:14 +0000 (+0800) Subject: ShellPkg/UefiShellDebug1CommandsLib: Fix coding style issues X-Git-Tag: edk2-stable201903~4947 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=ff28c72b455a0d2187a356b2fa7e2655e94b5b90;ds=sidebyside ShellPkg/UefiShellDebug1CommandsLib: Fix coding style issues Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi Reviewed-by: Jaben Carsey --- diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c index 713388150a..bb2c0b98ec 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c @@ -84,8 +84,8 @@ GetAttrType ( /** Convert binary to hex format string. - @param[in] BufferSize The size in bytes of the binary data. @param[in] Buffer The binary data. + @param[in] BufferSize The size in bytes of the binary data. @param[in, out] HexString Hex format string. @param[in] HexStringSize The size in bytes of the string. @@ -423,6 +423,7 @@ CascadeProcessVariables ( UINTN NameSize; CHAR16 *AttrString; CHAR16 *HexString; + EFI_STATUS SetStatus; if (ShellGetExecutionBreakFlag()) { return (SHELL_ABORTED); @@ -548,7 +549,7 @@ CascadeProcessVariables ( // // We only need name to delete it... // - EFI_STATUS SetStatus = gRT->SetVariable (FoundVarName, &FoundVarGuid, Atts, 0, NULL); + SetStatus = gRT->SetVariable (FoundVarName, &FoundVarGuid, Atts, 0, NULL); if (StandardFormatOutput) { if (SetStatus == EFI_SUCCESS) { ShellPrintHiiEx (