diff options
Diffstat (limited to 'shared/nm-macros-internal.h')
-rw-r--r-- | shared/nm-macros-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/nm-macros-internal.h b/shared/nm-macros-internal.h index 1f638bab18..1eedadded9 100644 --- a/shared/nm-macros-internal.h +++ b/shared/nm-macros-internal.h @@ -287,8 +287,10 @@ _NM_IN_STRSET_streq (const char *x, const char *s) #if NM_MORE_ASSERTS #define nm_assert(cond) G_STMT_START { g_assert (cond); } G_STMT_END +#define nm_assert_not_reached() G_STMT_START { g_assert_not_reached (); } G_STMT_END #else #define nm_assert(cond) G_STMT_START { if (FALSE) { if (cond) { } } } G_STMT_END +#define nm_assert_not_reached() G_STMT_START { ; } G_STMT_END #endif /*****************************************************************************/ |