diff options
author | Jim Meyering <jim@meyering.net> | 1995-08-08 04:58:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-08-08 04:58:23 +0000 |
commit | a5656326f08b5108e1bdf87a67537436e07f238a (patch) | |
tree | 34be75bfda01c001da80ecd2c6e09cd26476fbd5 | |
parent | f0556f35178beb8c540370d8ea6fb2d7fcf187ab (diff) | |
download | coreutils-a5656326f08b5108e1bdf87a67537436e07f238a.tar.xz |
(read_line) [lint]: Initialize CHARS to avoid spurious
compiler warning. From Ulrich Drepper.
-rw-r--r-- | src/pr.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |