From f03f8dcc44baa629e5af12d134d797a478dda6be Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Aug 1995 04:58:46 +0000 Subject: (mergefps) [lint]: Initialize SAVEALLOC to avoid spurious compiler warning. From Ulrich Drepper. --- src/sort.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/sort.c b/src/sort.c index d46a18c8e..263a462ad 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) { -- cgit v1.2.3-70-g09d2