From abbdcdd9060ce6222a0f65c363ccc93b4e973aa7 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 1 Oct 2006 10:01:03 -0700 Subject: 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 --- lib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib.h') diff --git a/lib.h b/lib.h index 207a8ec..5228297 100644 --- a/lib.h +++ b/lib.h @@ -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); -- cgit v1.2.3-65-gdbad