clang-format
This commit is contained in:
@@ -46,15 +46,14 @@ void __bad_assert(const char *file, int line, const char *msg);
|
||||
|
||||
#ifdef NDEBUG
|
||||
|
||||
#if 0 /* not allowed by the C standard */
|
||||
#define assert(x) ((void)(x)) /* retain any side effects of X */
|
||||
#if 0 /* not allowed by the C standard */
|
||||
#define assert(x) ((void)(x)) /* retain any side effects of X */
|
||||
#else
|
||||
#define assert(x) ((void)0) /* mysteriously hide any side effects of X */
|
||||
#define assert(x) ((void)0) /* mysteriously hide any side effects of X */
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define assert(x) ((x) ? (void)0 : __bad_assert(__FILE__, __LINE__, #x))
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _ASSERT_H_ */
|
||||
|
||||
Reference in New Issue
Block a user