fix(newlib): Fix compling error when disable newlib assert
@@ -11,7 +11,7 @@ extern "C" {
#undef assert
#ifdef NDEBUG /* required by ANSI standard */
-# define assert(__e) ((void)0)
+# define assert(__e) ((__e) ? (void)0 : (void)0)
#else
# define assert(__e) ((__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
__ASSERT_FUNC, #__e))
