diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 10:01:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 10:01:03 -0700 |
commit | abbdcdd9060ce6222a0f65c363ccc93b4e973aa7 (patch) | |
tree | 40814fbe33f0c867535b3c387e30a976b44ebe03 /lib.h | |
parent | [PATCH] add support for __builtin_choose_expr() (diff) | |
download | sparse-abbdcdd9060ce6222a0f65c363ccc93b4e973aa7.tar.gz sparse-abbdcdd9060ce6222a0f65c363ccc93b4e973aa7.tar.bz2 sparse-abbdcdd9060ce6222a0f65c363ccc93b4e973aa7.zip |
Add warning message for naked do-while
Does it necessarily make sense? Dunno, but it does tend to be bad
practice, or at least result in code that can be hard to mentally parse.
Maybe that mental parsing is just me. Or maybe it should be warned
about. You decide.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -84,6 +84,7 @@ extern int Wdecl; extern int Wone_bit_signed_bitfield; extern int Wshadow; extern int Wcast_truncate; +extern int Wdo_while; extern void declare_builtin_functions(void); extern void create_builtin_stream(void); |