|
From: | Jonathan Larmour |
Subject: | Re: RE : RE : RE : RE : [lwip-devel] Can we remove pbuf_init() |
Date: | Mon, 30 Jul 2007 17:29:55 +0100 |
User-agent: | Thunderbird 1.5.0.12 (X11/20070530) |
Frédéric BERNON wrote:
http://vivekkutal.blogspot.com/2006/03/do-while0.html give a explain of the semicolon problem you talk (not the same I thought).
Ah yes, of course, that makes better sense. It's always the form I use for definite.
Now, I understand, even if with current lwIP coding style (where we put brackets for each "if", "while", etc... even with one line in the "block"), I think such problem can't happen... Thank you for this explain...
Although it only takes one instance not to, so defensive coding would imply we still should. Is it a warning that can be turned off in your compiler?
Jifl -- eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. ------["The best things in life aren't things."]------ Opinions==mine
[Prev in Thread] | Current Thread | [Next in Thread] |