summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-22 09:50:31 +0000
committerJim Meyering <jim@meyering.net>1999-08-22 09:50:31 +0000
commite11d70c3620893debce74f7ad3435a1a96f60af5 (patch)
tree41f334bee80a028777560a29e4a15c8802eb8430
parent005c36b1787bb378b7c51cd8f642fa873ed3978b (diff)
downloadcoreutils-e11d70c3620893debce74f7ad3435a1a96f60af5.tar.xz
(read_line): Use IF_LINT macro instead of #ifdef lint...
-rw-r--r--src/pr.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pr.c b/src/pr.c
index 9149f3f47..1e62c3bfd 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -2445,16 +2445,12 @@ print_header (void)
static int
read_line (COLUMN *p)
{
- register int c, chars;
+ int c;
+ int chars IF_LINT (= 0);
int last_input_position;
int j, k;
COLUMN *q;
-/* Suppress `used before initialized' warning. */
-#ifdef lint
- chars = 0;
-#endif
-
/* read 1st character in each line or any character succeeding a FF: */
c = getc (p->fp);