From: Jim Meyering Date: Tue, 8 Aug 1995 04:58:23 +0000 (+0000) Subject: (read_line) [lint]: Initialize CHARS to avoid spurious X-Git-Tag: FILEUTILS-3_12a~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a5656326f08b5108e1bdf87a67537436e07f238a;p=thirdparty%2Fcoreutils.git (read_line) [lint]: Initialize CHARS to avoid spurious compiler warning. From Ulrich Drepper. --- diff --git a/src/pr.c b/src/pr.c index 080e98b32a..a438257884 100644 --- a/src/pr.c +++ b/src/pr.c @@ -1633,6 +1633,10 @@ read_line (p) register int c, chars; int last_input_position; +#ifdef lint /* Suppress `used before initialized' warning. */ + chars = 0; +#endif + c = getc (p->fp); last_input_position = input_position;