aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-10-12 23:27:49 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2025-10-12 23:27:49 +0300
commit89313128e8d0427b1f834fb262f52d6135b98f92 (patch)
tree8a9b2c1e729a91575ae53445a65be8b1075ff3b7
parentf6c94df92ea4e4b02ccc170ed1d137cfba9eb973 (diff)
downloadejit-89313128e8d0427b1f834fb262f52d6135b98f92.tar.gz
ejit-89313128e8d0427b1f834fb262f52d6135b98f92.zip
fix warning when DEBUG is not defined
-rw-r--r--src/compile/compile.c2
1 files changed, 1 insertions, 1 deletions
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);
}