diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2005-11-13 20:30:13 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2005-11-13 20:30:13 +0000 |
commit | 7a146f5f800494ae683092ef856903568540b6bf (patch) | |
tree | 82a80771d748ab40c10f9365bebc36674c16047d /usr.bin/col | |
parent | fbc50274729a9027a9b0d9f1b799585fc1a512a6 (diff) | |
download | FreeBSD-src-7a146f5f800494ae683092ef856903568540b6bf.zip FreeBSD-src-7a146f5f800494ae683092ef856903568540b6bf.tar.gz |
Avoid shadowing a local scratch variable,
Diffstat (limited to 'usr.bin/col')
-rw-r--r-- | usr.bin/col/col.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c index 7dcebff..c6a8feb 100644 --- a/usr.bin/col/col.c +++ b/usr.bin/col/col.c @@ -397,7 +397,7 @@ void flush_line(LINE *l) { CHAR *c, *endc; - int i, nchars, last_col, this_col; + int j, nchars, last_col, this_col; last_col = 0; nchars = l->l_line_len; @@ -493,7 +493,7 @@ flush_line(LINE *l) } PUTC(c->c_char); if ((c + 1) < endc) - for (i = 0; i < c->c_width; i++) + for (j = 0; j < c->c_width; j++) PUTC('\b'); if (++c >= endc) break; |