From 707083753a784c0295e0930d6e1b433f22ab5360 Mon Sep 17 00:00:00 2001 From: David Malone Date: Sun, 13 Nov 2005 20:30:13 +0000 Subject: [PATCH] Avoid shadowing a local scratch variable, --- usr.bin/col/col.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c index 7dcebff7deac..c6a8feb4fff6 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;