From: Jim Meyering Date: Tue, 8 Aug 1995 04:58:46 +0000 (+0000) Subject: (mergefps) [lint]: Initialize SAVEALLOC to avoid spurious X-Git-Tag: FILEUTILS-3_12a~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f03f8dcc44baa629e5af12d134d797a478dda6be;p=thirdparty%2Fcoreutils.git (mergefps) [lint]: Initialize SAVEALLOC to avoid spurious compiler warning. From Ulrich Drepper. --- diff --git a/src/sort.c b/src/sort.c index d46a18c8e5..263a462ad5 100644 --- a/src/sort.c +++ b/src/sort.c @@ -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) {