summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2016-03-17 10:04:08 +0800
committerQiu Shumin <shumin.qiu@intel.com>2016-03-17 14:35:53 +0800
commit19c427a7ce6f5e036270543086c3e15c09c27e81 (patch)
tree79dcb7a1ec843d647b54b0a256c720dd73c025b2 /ShellPkg
parent04c30dd5718d5f927b2ec31010032b2b5a714a2c (diff)
downloadedk2-platforms-19c427a7ce6f5e036270543086c3e15c09c27e81.tar.xz
ShellPkg: Remove the unused local variable.
Remove the unused local variable to refine the code. Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc:Ard Biesheuvel <ard.biesheuvel@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Application/Shell/ShellProtocol.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c
index 2cb7befe29..e55b5e9e0f 100644
--- a/ShellPkg/Application/Shell/ShellProtocol.c
+++ b/ShellPkg/Application/Shell/ShellProtocol.c
@@ -1738,10 +1738,7 @@ EfiShellExecute(
CHAR16 *Temp;
EFI_DEVICE_PATH_PROTOCOL *DevPath;
UINTN Size;
- EFI_STATUS CalleeStatusCode;
- CalleeStatusCode = EFI_SUCCESS;
-
if ((PcdGet8(PcdShellSupportLevel) < 1)) {
return (EFI_UNSUPPORTED);
}