]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid GCC 7 compilation warning in eval.c
authorEli Zaretskii <eliz@gnu.org>
Sun, 17 Sep 2017 16:50:43 +0000 (19:50 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 17 Sep 2017 16:50:43 +0000 (19:50 +0300)
* src/eval.c (push_handler_nosignal): Use CACHEABLE to work around
GCC compilation warning.  Suggested by Paul Eggert <eggert@cs.ucla.edu>
in http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00492.html.

src/eval.c

index 62e219631db64aa67bfa122c467f29161a47b6f3..39d78364d5fdc05afc7d8d793bf80571fdfaa402 100644 (file)
@@ -1428,7 +1428,7 @@ push_handler (Lisp_Object tag_ch_val, enum handlertype handlertype)
 struct handler *
 push_handler_nosignal (Lisp_Object tag_ch_val, enum handlertype handlertype)
 {
-  struct handler *c = handlerlist->nextfree;
+  struct handler *CACHEABLE c = handlerlist->nextfree;
   if (!c)
     {
       c = malloc (sizeof *c);