[syslinux:master] rosh: Remove unneeded cases in rosh_command() switch statements

syslinux-bot for Gene Cumm gene.cumm at gmail.com
Sun Nov 14 12:54:58 PST 2010


Commit-ID:  1d3b53de86e8477b5a47a20bd1e502daa7f23f19
Gitweb:     http://syslinux.zytor.com/commit/1d3b53de86e8477b5a47a20bd1e502daa7f23f19
Author:     Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sun, 3 Oct 2010 18:28:02 -0400
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sat, 9 Oct 2010 07:33:08 -0400

rosh: Remove unneeded cases in rosh_command() switch statements



---
 com32/rosh/rosh.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

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)



More information about the Syslinux-commits mailing list