Add warning message for naked do-while
commitabbdcdd9060ce6222a0f65c363ccc93b4e973aa7
authorLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 17:01:03 +0000 (1 10:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 17:01:03 +0000 (1 10:01 -0700)
tree40814fbe33f0c867535b3c387e30a976b44ebe03
parent3425388b0c9f3ec4807bc4f6a61d5083a99fa506
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>
lib.c
lib.h
parse.c