From 2b21ee0e3f571c49c79f5f1537c87fdcedafba22 Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev Date: Sun, 22 Sep 2024 21:11:07 +0200 Subject: [PATCH] util/assert: remove __builtin_unreachable() after assert trap --- src/util/assert.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/assert.h b/src/util/assert.h index 3851029f..7450d0ad 100644 --- a/src/util/assert.h +++ b/src/util/assert.h @@ -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)