diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-15 17:22:01 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-09-11 14:08:58 +0200 |
commit | 9966c92dd4851db611ad88fc1eb68b01fffcaea3 (patch) | |
tree | fb1056a4b7a0814e4efdc798bdace345acd24180 /configure.ac | |
parent | 4f73ecaf7def2a7bdc381eee2036f6539df01e7d (diff) | |
download | coreutils-9966c92dd4851db611ad88fc1eb68b01fffcaea3.tar.xz |
build: placate gcc's new -Wskip-jump-init
* remove.c (rm_fts): Put braces around each of the two offending blocks.
* configure.ac: Don't turn off -Wjump-misses-init.
With the rewrite of remove.c, it is no longer needed.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index e718b36b3..fa82b4c09 100644 --- a/configure.ac +++ b/configure.ac @@ -101,9 +101,6 @@ if test "$gl_gcc_warnings" = yes; then gl_WARN_ADD([-Wno-pointer-sign]) # Too many warnings for now gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now - # Offenders in pre-fts remove.c; FIXME: remove upon remove.c rewrite - gl_WARN_ADD([-Wno-jump-misses-init]) - # In spite of excluding -Wlogical-op above, it is enabled, as of # gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c gl_WARN_ADD([-Wno-logical-op]) |