diff options
author | Jim Meyering <jim@meyering.net> | 1995-08-08 04:58:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-08-08 04:58:46 +0000 |
commit | f03f8dcc44baa629e5af12d134d797a478dda6be (patch) | |
tree | e0a5e8121ac3a1cc68ae9e86137e8fb209dea516 /src | |
parent | a5656326f08b5108e1bdf87a67537436e07f238a (diff) | |
download | coreutils-f03f8dcc44baa629e5af12d134d797a478dda6be.tar.xz |
(mergefps) [lint]: Initialize SAVEALLOC to avoid spurious
compiler warning. From Ulrich Drepper.
Diffstat (limited to 'src')
-rw-r--r-- | src/sort.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |