Hmmm... I don't agree.

The Coding Standard encourages empty "while loops":
https://cwiki.apache.org/confluence/display/NUTTX/Coding+Standard#while
Why should this not applicable for "for loops"? I think there are many already 
in the tree.
Actually, I think that is an error in the coding document.  At least, it is certainly NOT incorrect to use braces after while as the example suggests.  It should be encouraged but it is not required.  Perhaps it should be required to use braces always?

Reply via email to