diff options
Diffstat (limited to '')
-rw-r--r-- | src/basic/macro.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h index 81add201fa..fb002d2172 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -344,9 +344,7 @@ static inline int __coverity_check__(int condition) { #endif #define assert_not_reached(t) \ - do { \ - log_assert_failed_unreachable(t, PROJECT_FILE, __LINE__, __PRETTY_FUNCTION__); \ - } while (false) + log_assert_failed_unreachable(t, PROJECT_FILE, __LINE__, __PRETTY_FUNCTION__) #if defined(static_assert) #define assert_cc(expr) \ |