split: avoid a new, spurious warning from gcc-4.6.0
authorJim Meyering <meyering@redhat.com>
Mon, 24 Jan 2011 08:38:40 +0000 (09:38 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 24 Jan 2011 09:02:22 +0000 (10:02 +0100)
* src/split.c (lines_rr) [IF_LINT]: Initialize files, now that
rawhide's gcc-4.6.0 would otherwise warn about use-uninitialized.

src/split.c

index c11c032..364576a 100644 (file)
@@ -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)