summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-12-12 14:11:14 +0800
committerStar Zeng <star.zeng@intel.com>2016-12-14 21:34:32 +0800
commitff28c72b455a0d2187a356b2fa7e2655e94b5b90 (patch)
tree04bff07d882e191b585eae5a35f562ed731c0488 /ShellPkg
parent6b2a7134d4180262e9527f7f134a186e49eb0e75 (diff)
downloadedk2-platforms-ff28c72b455a0d2187a356b2fa7e2655e94b5b90.tar.xz
ShellPkg/UefiShellDebug1CommandsLib: Fix coding style issues
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>
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c5
1 files 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 (