summaryrefslogtreecommitdiff
path: root/com32/rosh
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2010-10-03 18:28:02 -0400
committerGene Cumm <gene.cumm@gmail.com>2010-10-09 07:33:08 -0400
commit1d3b53de86e8477b5a47a20bd1e502daa7f23f19 (patch)
tree832042d0e583d8442946733f10b6f38e2969bc7a /com32/rosh
parentcb8c3cf3a53d239840581a6d2e916843a4785b08 (diff)
downloadsyslinux-1d3b53de86e8477b5a47a20bd1e502daa7f23f19.tar.gz
rosh: Remove unneeded cases in rosh_command() switch statements
Diffstat (limited to 'com32/rosh')
-rw-r--r--com32/rosh/rosh.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/com32/rosh/rosh.c b/com32/rosh/rosh.c
index 72f597f7..476dfd2a 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)