summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-20 15:20:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-20 15:20:29 +0000
commit8c161f958f0c5a9d4b607ea4e2d894f97753f855 (patch)
tree3f7873c035d38ce4f4369129206dddf368a61159 /cpukit/libmisc
parent2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-8c161f958f0c5a9d4b607ea4e2d894f97753f855.tar.bz2
2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 3 * libmisc/shell/shell.c: Remove dead code path and fix warning.
Diffstat (limited to 'cpukit/libmisc')
-rw-r--r--cpukit/libmisc/shell/shell.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c
index b17098098d..6e2096433a 100644
--- a/cpukit/libmisc/shell/shell.c
+++ b/cpukit/libmisc/shell/shell.c
@@ -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++;
}