Gary-Hobson opened a new pull request, #14065:
URL: https://github.com/apache/nuttx/pull/14065

   ## Summary
   According to the standard definition, assert should return a void expression 
https://pubs.opengroup.org/onlinepubs/007904875/basedefs/assert.h.html
   
   This patch involves two changes:
   
   If you define the NDEBUG macro, assert does not use any parameters and 
directly returns a void expression. assert should return a void expression and 
cannot use do-while statements. If the following code , a compilation error 
will occur.
   
   ## Impact
   
   ## Testing
   sim
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to