From 89313128e8d0427b1f834fb262f52d6135b98f92 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 12 Oct 2025 23:27:49 +0300 Subject: fix warning when DEBUG is not defined --- src/compile/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile/compile.c b/src/compile/compile.c index f6bf144..7965f93 100644 --- a/src/compile/compile.c +++ b/src/compile/compile.c @@ -47,7 +47,7 @@ static void *alloc_arena(size_t size, bool im_scawed) MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); } -static void assert_helper(const char *msg) +static inline void assert_helper(const char *msg) { assert(false && msg); } -- cgit v1.2.3