diff --git a/lib/base/debug.h b/lib/base/debug.h index 9587f47f0..06ce556cd 100644 --- a/lib/base/debug.h +++ b/lib/base/debug.h @@ -24,11 +24,7 @@ #include #ifdef NDEBUG -# if defined(__clang__) || (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) -# define ASSERT(expr) __builtin_unreachable() -# else -# define ASSERT(expr) ((void)0) -# endif +# define ASSERT(expr) ((void)0) #else /* NDEBUG */ # define ASSERT(expr) ((expr) ? 0 : icinga_assert_fail(#expr, __FILE__, __LINE__)) #endif /* NDEBUG */