From f03f8dcc44baa629e5af12d134d797a478dda6be Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Aug 1995 04:58:46 +0000 Subject: [PATCH] (mergefps) [lint]: Initialize SAVEALLOC to avoid spurious compiler warning. From Ulrich Drepper. --- src/sort.c | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.47.3