diff --git a/include/nm-macros-internal.h b/include/nm-macros-internal.h index d510445f32..8260c2b562 100644 --- a/include/nm-macros-internal.h +++ b/include/nm-macros-internal.h @@ -105,7 +105,7 @@ #ifdef NM_MORE_ASSERTS #define nm_assert(cond) G_STMT_START { g_assert (cond); } G_STMT_END #else -#define nm_assert(cond) G_STMT_START { (void) 0; } G_STMT_END +#define nm_assert(cond) G_STMT_START { if (FALSE) { if (cond) { } } } G_STMT_END #endif /*****************************************************************************/