You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/06/05 16:54:00 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on pull request #9477: Assert.h revert #5647 cast assert() to void when NDEBUG is defined

xiaoxiang781216 commented on PR #9477:
URL: https://github.com/apache/nuttx/pull/9477#issuecomment-1577144300

   > @xiaoxiang781216 should we use the same approach for debug assertions?
   
   Since DEBUGASSERT is nuttx specific macro, it could have the different rule.
   
   > Seems like now we need to add a bunch of `UNUSED` in the code now
   
   So, you understand why it's good ideal to keep the expression even NDEBUG is defined.


-- 
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-unsubscribe@nuttx.apache.org

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