hartmannathan commented on PR #7025:
URL: https://github.com/apache/incubator-nuttx/pull/7025#issuecomment-1238866327

   OK I have a workaround:
   
   ```
     if (isinf(x) || isnan(x))
       {
         return (x);
       }
   ```
   
   nxstyle doesn't complain when this is written in a block.
   
   Just add the curly braces to all three instances of this check; indent the 
curly braces 2 more than the `if` and then indent the return 2 more than that, 
and the nxstyle errors should go away.


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to