projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8264fc6
)
split: avoid a new, spurious warning from gcc-4.6.0
author
Jim Meyering
<meyering@redhat.com>
Mon, 24 Jan 2011 08:38:40 +0000
(09:38 +0100)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/src/split.c
b/src/split.c
index
c11c032
..
364576a
100644
(file)
--- 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)