forked from Imagelibrary/rtems
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:
@@ -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.
|
||||
|
||||
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user