summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-01-24 15:02:17 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-01-24 15:03:20 +0100
commit067e84116dde36a2e058e3915fe81c818a21e40a (patch)
treec1a30071b9c05fa98f158230db6b17b86bb16c2b
parentedeb220d310f189023b232407deb55f49445358b (diff)
downloademacs-067e84116dde36a2e058e3915fe81c818a21e40a.tar.gz
; * src/bytecode.c (exec_byte_code): Silence GCC warning
-rw-r--r--src/bytecode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 76ef2fb661c..da1855d6bab 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -381,7 +381,9 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth,
Lisp_Object *stack_lim = top + stack_items;
unsigned char const *bytestr_data = SDATA (bytestr);
unsigned char const *pc = bytestr_data;
+#if BYTE_CODE_SAFE || !defined NDEBUG
ptrdiff_t count = SPECPDL_INDEX ();
+#endif
/* ARGS_TEMPLATE is composed of bit fields:
bits 0..6 minimum number of arguments