From: Jim Meyering Date: Mon, 24 Jan 2011 08:38:40 +0000 (+0100) Subject: split: avoid a new, spurious warning from gcc-4.6.0 X-Git-Tag: v8.10~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15ea577af7f04c0e9ddbd88fa72768e79a933b60;p=platform%2Fupstream%2Fcoreutils.git 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. --- diff --git a/src/split.c b/src/split.c index c11c032..364576a 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)