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?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.
- Some questions related PR#1478 Schock, Johannes - NIVUS GmbH
- Re: Some questions related PR#1478 Gregory Nutt
- RE: Some questions related PR#1478 Schock, Johannes - NIVUS GmbH
- Re: Some questions related PR#1478 Nathan Hartman
- Re: Some questions related PR#1478 Schock, Johannes - NIVUS GmbH
- Re: Some questions related PR#1478 Gregory Nutt
- Re: Some questions related PR#1... Nathan Hartman
- Re: Some questions related ... Gregory Nutt
- Re: Some questions related ... Gregory Nutt
- Re: Some questions rel... Nathan Hartman
- Re: Some questions related PR#1478 Schock, Johannes - NIVUS GmbH