diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-10-12 23:27:49 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-10-12 23:27:49 +0300 |
commit | 89313128e8d0427b1f834fb262f52d6135b98f92 (patch) | |
tree | 8a9b2c1e729a91575ae53445a65be8b1075ff3b7 /src/compile/compile.c | |
parent | f6c94df92ea4e4b02ccc170ed1d137cfba9eb973 (diff) | |
download | ejit-89313128e8d0427b1f834fb262f52d6135b98f92.tar.gz ejit-89313128e8d0427b1f834fb262f52d6135b98f92.zip |
fix warning when DEBUG is not defined
Diffstat (limited to 'src/compile/compile.c')
-rw-r--r-- | src/compile/compile.c | 2 |
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); } |