From 8bd0dee531e3dfbc076bc06ab9c2ea0e3b4e2419 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 3 Nov 2021 15:15:20 +0100 Subject: osdep: rename MP_UNREACHABLE It was pointed out on IRC that the name is misleading, since the actual semantics of the macro is to assert first. --- misc/thread_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/thread_pool.c b/misc/thread_pool.c index e2c7a238dd..9e47f13279 100644 --- a/misc/thread_pool.c +++ b/misc/thread_pool.c @@ -105,7 +105,7 @@ static void *worker_thread(void *arg) return NULL; } } - MP_UNREACHABLE(); + MP_ASSERT_UNREACHABLE(); } pthread_mutex_unlock(&pool->lock); -- cgit v1.2.3