From ff28c72b455a0d2187a356b2fa7e2655e94b5b90 Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Mon, 12 Dec 2016 14:11:14 +0800 Subject: [PATCH] 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 --- ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ( -- 2.39.2