]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(mergefps) [lint]: Initialize SAVEALLOC to avoid spurious
authorJim Meyering <jim@meyering.net>
Tue, 8 Aug 1995 04:58:46 +0000 (04:58 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 8 Aug 1995 04:58:46 +0000 (04:58 +0000)
compiler warning.  From Ulrich Drepper.

src/sort.c

index d46a18c8e5199f8e4ff64322dd165d2f7e504867..263a462ad5d8aff6c5c6ea91292e68ebf99beb13 100644 (file)
@@ -1047,6 +1047,10 @@ mergefps (fps, nfps, ofp)
                                   output. */
   register int i, j, t;
 
+#ifdef lint  /* Suppress `used before initialized' warning.  */
+  savealloc = 0;
+#endif
+
   /* Allocate space for a saved line if necessary. */
   if (unique)
     {