X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fassert.h;h=44b30b87b7bdbe98281ad086afed1162fb623a4c;hp=e2618a0e964a32ec5e947acf4aafc2ccb5d2fcde;hb=0b6ba474c9a13ef218554539106c0a52776ac189;hpb=25241f49cbda2d67169a3f072b43ad6bc0b8dba9 diff --git a/includes/assert.h b/includes/assert.h index e2618a0..44b30b8 100644 --- a/includes/assert.h +++ b/includes/assert.h @@ -42,10 +42,7 @@ void _PDCLIB_assert89( char const * const ); #undef assert #ifdef NDEBUG -#define assert( ignore ) do { \ - if(!(expression)) { _PDCLIB_UNREACHABLE; } \ - } while(0) - +#define assert( ignore ) ( (void) 0 ) #elif _PDCLIB_C_MIN(99) #define assert(expression) \ do { if(!(expression)) { \