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>
This commit is contained in:
@ -84,8 +84,8 @@ GetAttrType (
|
|||||||
/**
|
/**
|
||||||
Convert binary to hex format string.
|
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] Buffer The binary data.
|
||||||
|
@param[in] BufferSize The size in bytes of the binary data.
|
||||||
@param[in, out] HexString Hex format string.
|
@param[in, out] HexString Hex format string.
|
||||||
@param[in] HexStringSize The size in bytes of the string.
|
@param[in] HexStringSize The size in bytes of the string.
|
||||||
|
|
||||||
@ -423,6 +423,7 @@ CascadeProcessVariables (
|
|||||||
UINTN NameSize;
|
UINTN NameSize;
|
||||||
CHAR16 *AttrString;
|
CHAR16 *AttrString;
|
||||||
CHAR16 *HexString;
|
CHAR16 *HexString;
|
||||||
|
EFI_STATUS SetStatus;
|
||||||
|
|
||||||
if (ShellGetExecutionBreakFlag()) {
|
if (ShellGetExecutionBreakFlag()) {
|
||||||
return (SHELL_ABORTED);
|
return (SHELL_ABORTED);
|
||||||
@ -548,7 +549,7 @@ CascadeProcessVariables (
|
|||||||
//
|
//
|
||||||
// We only need name to delete it...
|
// 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 (StandardFormatOutput) {
|
||||||
if (SetStatus == EFI_SUCCESS) {
|
if (SetStatus == EFI_SUCCESS) {
|
||||||
ShellPrintHiiEx (
|
ShellPrintHiiEx (
|
||||||
|
Reference in New Issue
Block a user