diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-07-27 10:02:07 -0700 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-07-27 10:03:45 -0700 |
commit | 265c5209bd447405b8ce54b07808c5e47c56d2ce (patch) | |
tree | d94ea0083ab9420564df67dfeb0f1d5f4ba3c618 /lib.c | |
parent | expression.c: Clean up match_oplist() and add missing va_end() (diff) | |
download | sparse-265c5209bd447405b8ce54b07808c5e47c56d2ce.tar.gz sparse-265c5209bd447405b8ce54b07808c5e47c56d2ce.tar.bz2 sparse-265c5209bd447405b8ce54b07808c5e47c56d2ce.zip |
Turn off -Wdo-while by default.
-Wdo-while represents a style warning only, not a correctness warning. Thus,
turn it off by default. Projects that want it should use -Wdo-while
explicitly.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -202,7 +202,7 @@ int Wtransparent_union = 1; int Wshadow = 0; int Waddress_space = 1; int Wenum_mismatch = 1; -int Wdo_while = 1; +int Wdo_while = 0; int Wuninitialized = 1; int Wold_initializer = 1; int Wnon_pointer_null = 1; |