2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>

Coverity Id 3
	* libmisc/shell/shell.c: Remove dead code path and fix warning.
This commit is contained in:
Joel Sherrill
2010-01-20 15:20:29 +00:00
parent efb68e8bf8
commit 8c161f958f
2 changed files with 6 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 3
* libmisc/shell/shell.c: Remove dead code path and fix warning.
2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/hexdump-parse.c: Fix uninitialized warning.

View File

@@ -237,10 +237,6 @@ int rtems_shell_line_editor(
fprintf(out,"\r%*c", clen, ' ');
fprintf(out,"\r%s%s", prompt, line);
}
else {
if (output)
fputc('\x7', out);
}
}
break;
@@ -769,7 +765,7 @@ bool rtems_shell_main_loop(
/* evaluate cmd section */
c = cmds[cmd];
while (*c) {
if (!isblank(*c))
if (!isblank((int)*c))
break;
c++;
}