"Sander Striker" <[EMAIL PROTECTED]> writes: > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: 22 March 2002 21:37 > > > trawick 02/03/22 12:37:04 > > > > Modified: modules/http http_protocol.c > > Log: > > add an extra level of parentheses to say "yes I know what I'm > > doing with that single '='" and more importantly to quiet a > > gcc -Wall warning > > Please put the comment in the code or make it explicit that you are > testing for != 0. The extra braces are bound to be removed by some > overactive style nitter ;)
Nope. Style nitters better pay attention to gcc -Wall to avoid doing anything stupid. (Actually everybody should. I can't believe how freakin' lazy some people are.) The only time I feel the need to put a comment in the code to describe a change to clean up warnings is when an incorrect "foo is used before set" warning is cleared up by initializing the variable. -- Jeff Trawick | [EMAIL PROTECTED] Born in Roswell... married an alien...