]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(read_line): Use IF_LINT macro instead of #ifdef lint...
authorJim Meyering <jim@meyering.net>
Sun, 22 Aug 1999 09:50:31 +0000 (09:50 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 22 Aug 1999 09:50:31 +0000 (09:50 +0000)
src/pr.c

index 9149f3f47b39ee313f2ac9af12d18f6d122b7f55..1e62c3bfd337fbd96b045ee66155aab4a77095f0 100644 (file)
--- 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);