From 7a146f5f800494ae683092ef856903568540b6bf Mon Sep 17 00:00:00 2001 From: dwmalone Date: Sun, 13 Nov 2005 20:30:13 +0000 Subject: Avoid shadowing a local scratch variable, --- usr.bin/col/col.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/col/col.c') 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; -- cgit v1.1