From: Laszlo Ersek Date: Tue, 24 Dec 2013 07:25:31 +0000 (+0000) Subject: Add default way for switch in function 'RunCommandOrFile' of 'Shell.c'. X-Git-Tag: edk2-stable201903~11939 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=6fa0da7d52815979be31b8252aae839883dc7b0c Add default way for switch in function 'RunCommandOrFile' of 'Shell.c'. Signed-off-by: Laszlo Ersek Reviewed-by: Shumin Qiu git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15018 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/ShellPkg/Application/Shell/Shell.c b/ShellPkg/Application/Shell/Shell.c index 7e4c891d31..ef821a5c5d 100644 --- a/ShellPkg/Application/Shell/Shell.c +++ b/ShellPkg/Application/Shell/Shell.c @@ -2072,8 +2072,18 @@ RunCommandOrFile( // SetLastError(StatusCode); break; + default: + // + // Do nothing. + // + break; } break; + default: + // + // Do nothing. + // + break; } SHELL_FREE_NON_NULL(CommandWithPath);