From: Gene Cumm Date: Sun, 3 Oct 2010 22:28:02 +0000 (-0400) Subject: rosh: Remove unneeded cases in rosh_command() switch statements X-Git-Tag: syslinux-4.04-pre1~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d3b53de86e8477b5a47a20bd1e502daa7f23f19;p=platform%2Fupstream%2Fsyslinux.git rosh: Remove unneeded cases in rosh_command() switch statements --- diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c index 72f597f..476dfd2 100644 --- a/com32/rosh/rosh.c +++ b/com32/rosh/rosh.c @@ -1189,7 +1189,6 @@ char rosh_command(int argc, char *argv[], const char *ipwdstr) case 'L': /* run 'ls' 'less' */ switch (argv[0][1]) { case 0: - case ' ': case 's': case 'S': if (strncasecmp("ls", argv[0], tlen) == 0) @@ -1240,7 +1239,6 @@ char rosh_command(int argc, char *argv[], const char *ipwdstr) case 'R': /* run 'run' */ switch (argv[0][1]) { case 0: - case ' ': case 'e': case 'E': if (strncasecmp("reboot", argv[0], tlen) == 0)