emacs-diffs
[Top][All Lists]
Advanced

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

master 067e84116d: ; * src/bytecode.c (exec_byte_code): Silence GCC warn


From: Mattias Engdegård
Subject: master 067e84116d: ; * src/bytecode.c (exec_byte_code): Silence GCC warning
Date: Mon, 24 Jan 2022 09:03:58 -0500 (EST)

branch: master
commit 067e84116dde36a2e058e3915fe81c818a21e40a
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * src/bytecode.c (exec_byte_code): Silence GCC warning
---
 src/bytecode.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bytecode.c b/src/bytecode.c
index 76ef2fb661..da1855d6ba 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



reply via email to

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