projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8c3cf
)
rosh: Remove unneeded cases in rosh_command() switch statements
author
Gene Cumm
<gene.cumm@gmail.com>
Sun, 3 Oct 2010 22:28:02 +0000
(18:28 -0400)
committer
Gene Cumm
<gene.cumm@gmail.com>
Sat, 9 Oct 2010 11:33:08 +0000
(07:33 -0400)
com32/rosh/rosh.c
patch
|
blob
|
history
diff --git
a/com32/rosh/rosh.c
b/com32/rosh/rosh.c
index
72f597f
..
476dfd2
100644
(file)
--- 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)