util/assert: remove __builtin_unreachable() after assert trap

This commit is contained in:
Andrei Alexeyev 2024-09-22 21:11:07 +02:00
parent d84a94d2f8
commit 2b21ee0e3f
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -52,7 +52,6 @@ void _ts_assert_fail(
if(UNLIKELY(!(cond))) { \
_ts_assert_fail(#cond, msg, __func__, _TAISEI_SRC_FILE, __LINE__, uselog); \
TRAP(); \
__builtin_unreachable(); \
} \
})
#define _assume(cond, msg, uselog) _assert(cond, msg, uselog)