Correct the ASSERT macro in debug mode

This commit is contained in:
Paul Fd 2020-03-15 12:21:44 +01:00
parent 5317d2785d
commit 501dd60d2b

View file

@ -43,7 +43,8 @@
#define ASSERT(expression) \
do { \
if (!(expression)) \
ASSERTFALSE \
ASSERTFALSE; \
} \
while (0)
// Debug message