summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-22 09:50:56 +0000
committerJim Meyering <jim@meyering.net>1999-08-22 09:50:56 +0000
commit8b5ed0399d5f0feba0e9c2f832902d006541f07b (patch)
tree2f90e4f4289164fb32221a54abf10c76bccfce49 /src
parente11d70c3620893debce74f7ad3435a1a96f60af5 (diff)
downloadcoreutils-8b5ed0399d5f0feba0e9c2f832902d006541f07b.tar.xz
(paste_parallel): Use IF_LINT macro instead of #ifdef lint...
Diffstat (limited to 'src')
-rw-r--r--src/paste.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/paste.c b/src/paste.c
index c77075f17..7dbf7091b 100644
--- a/src/paste.c
+++ b/src/paste.c
@@ -158,7 +158,7 @@ paste_parallel (int nfiles, char **fnamptr)
/* Number of files for which space is allocated in `delbuf' and `fileptr'.
Enlarged as necessary. */
int file_list_size = 12;
- int chr; /* Input character. */
+ int chr IF_LINT (= 0); /* Input character. */
int line_length; /* Number of chars in line. */
int somedone; /* 0 if all files empty for this line. */
/* If all files are just ready to be closed, or will be on this
@@ -173,10 +173,6 @@ paste_parallel (int nfiles, char **fnamptr)
int i; /* Loop index. */
int opened_stdin = 0; /* Nonzero if any fopen got fd 0. */
-#ifdef lint /* Suppress `used before initialized' warning. */
- chr = 0;
-#endif
-
delbuf = (char *) xmalloc (file_list_size + 2);
fileptr = (FILE **) xmalloc ((file_list_size + 1) * sizeof (FILE *));