aboutsummaryrefslogtreecommitdiff
path: root/lib.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-07-27 10:02:07 -0700
committerJosh Triplett <josh@freedesktop.org>2007-07-27 10:03:45 -0700
commit265c5209bd447405b8ce54b07808c5e47c56d2ce (patch)
treed94ea0083ab9420564df67dfeb0f1d5f4ba3c618 /lib.c
parentexpression.c: Clean up match_oplist() and add missing va_end() (diff)
downloadsparse-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index a1442a2..2d90909 100644
--- a/lib.c
+++ b/lib.c
@@ -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;