diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2016-03-17 10:04:08 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-13 20:42:35 +0800 |
commit | 3e47b15f9aadbf30f4625b2ac1af5226bc823896 (patch) | |
tree | b0f5efa7fc3bfd152bcbd001ef5dee3300e3bf92 /ShellPkg/Application | |
parent | 3603c8077a2cb2e2d3fb661ea288a0e551dee173 (diff) | |
download | edk2-platforms-3e47b15f9aadbf30f4625b2ac1af5226bc823896.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>
(cherry picked from commit 19c427a7ce6f5e036270543086c3e15c09c27e81)
Diffstat (limited to 'ShellPkg/Application')
-rw-r--r-- | ShellPkg/Application/Shell/ShellProtocol.c | 3 |
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);
}
|