mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 02:18:38 +08:00
f25a506f91
As defined by the C standard, if NDEBUG is defined, assert should do nothing but be simply defined as: #define assert(ignore) ((void)0) Reference link: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/assert.h.html Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>