diff options
author | Jim Meyering <meyering@redhat.com> | 2011-01-24 09:38:40 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-01-24 10:02:22 +0100 |
commit | 15ea577af7f04c0e9ddbd88fa72768e79a933b60 (patch) | |
tree | 8b62a99a852baf086ef8919479ee5dc81063b517 /src | |
parent | 8264fc615a1beb82e062949e5cf17c852fcfaaaf (diff) | |
download | coreutils-15ea577af7f04c0e9ddbd88fa72768e79a933b60.tar.xz |
split: avoid a new, spurious warning from gcc-4.6.0
* src/split.c (lines_rr) [IF_LINT]: Initialize files, now that
rawhide's gcc-4.6.0 would otherwise warn about use-uninitialized.
Diffstat (limited to 'src')
-rw-r--r-- | src/split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c index c11c032b2..364576aa8 100644 --- a/src/split.c +++ b/src/split.c @@ -660,7 +660,7 @@ lines_rr (uintmax_t k, uintmax_t n, char *buf, size_t bufsize) { bool file_limit; size_t i_file; - of_t *files; + of_t *files IF_LINT (= NULL); uintmax_t line_no; if (k) |