emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp d3984be 03/10: * src/comp.c (declare_function): fix


From: Andrea Corallo
Subject: feature/native-comp d3984be 03/10: * src/comp.c (declare_function): fix missing NILP.
Date: Sat, 25 Apr 2020 17:31:24 -0400 (EDT)

branch: feature/native-comp
commit d3984becca4111d55c540ecab93c5075efa5afba
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>

    * 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 2f59164..e95ab51 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]