diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-29 16:43:33 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-11-29 16:43:33 +0100 |
commit | 9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1 (patch) | |
tree | a950fa73740d345e11ba1ce90f4fc39ee12516e6 /miscutils | |
parent | 1a7256ac38284caffd2a0de2250364369059be69 (diff) | |
download | busybox-w32-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.tar.gz busybox-w32-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.tar.bz2 busybox-w32-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.zip |
fix assorted unused code and wrong format specs found by cppchekc (bug 6716)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/chat.c b/miscutils/chat.c index ce994f870..bd2abc24a 100644 --- a/miscutils/chat.c +++ b/miscutils/chat.c | |||
@@ -296,7 +296,7 @@ int chat_main(int argc UNUSED_PARAM, char **argv) | |||
296 | full_write(record_fd, buf+buf_len, 1); | 296 | full_write(record_fd, buf+buf_len, 1); |
297 | } | 297 | } |
298 | // dump device input if ECHO ON | 298 | // dump device input if ECHO ON |
299 | if (echo > 0) { | 299 | if (echo) { |
300 | // if (buf[buf_len] < ' ') { | 300 | // if (buf[buf_len] < ' ') { |
301 | // full_write(STDERR_FILENO, "^", 1); | 301 | // full_write(STDERR_FILENO, "^", 1); |
302 | // buf[buf_len] += '@'; | 302 | // buf[buf_len] += '@'; |