patacongo opened a new issue #525: nxstyle:  Does not check for braces.
URL: https://github.com/apache/incubator-nuttx/issues/525
 
 
   There is no check to assure that the statements following if, else, while, 
and for keywords are enclosed in braces.  This requirement is true if even if 
no statments follow or if only a single statement follows:  
https://cwiki.apache.org/confluence/display/NUTTX/Coding+Standard#ifthenelse
   
   Wrong:
         if (a == b)
           return;
   
         while (foobar == 0);
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to