From d3984becca4111d55c540ecab93c5075efa5afba Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sat, 25 Apr 2020 16:50:50 +0100 Subject: [PATCH] * src/comp.c (declare_function): fix missing NILP. --- src/comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comp.c b/src/comp.c index 2f59164b770..e95ab51cb56 100644 --- a/src/comp.c +++ b/src/comp.c @@ -3016,7 +3016,7 @@ declare_function (Lisp_Object func) gcc_jit_function *gcc_func; char *c_name = SSDATA (CALL1I (comp-func-c-name, func)); Lisp_Object args = CALL1I (comp-func-args, func); - bool nargs = (CALL1I (comp-nargs-p, args)); + bool nargs = !NILP (CALL1I (comp-nargs-p, args)); USE_SAFE_ALLOCA; if (!nargs) -- 2.39.5