From 6fa0da7d52815979be31b8252aae839883dc7b0c Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Tue, 24 Dec 2013 07:25:31 +0000 Subject: 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 --- ShellPkg/Application/Shell/Shell.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ShellPkg/Application') 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); -- cgit v1.2.3