From 19c427a7ce6f5e036270543086c3e15c09c27e81 Mon Sep 17 00:00:00 2001 From: Qiu Shumin Date: Thu, 17 Mar 2016 10:04:08 +0800 Subject: [PATCH] ShellPkg: Remove the unused local variable. Remove the unused local variable to refine the code. Cc: Jaben Carsey Cc: Ruiyu Ni Cc: Laszlo Ersek Cc:Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin Reviewed-by: Laszlo Ersek Reviewed-by: Ruiyu Ni --- ShellPkg/Application/Shell/ShellProtocol.c | 3 --- 1 file changed, 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); }