emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 411bec8: Avoid GCC 7 compilation warning in eval.


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 411bec8: Avoid GCC 7 compilation warning in eval.c
Date: Sun, 17 Sep 2017 12:51:35 -0400 (EDT)

branch: emacs-26
commit 411bec82c427b238dc67a69637834d2b64566670
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Avoid GCC 7 compilation warning in eval.c
    
    * src/eval.c (push_handler_nosignal): Use CACHEABLE to work around
    GCC compilation warning.  Suggested by Paul Eggert <address@hidden>
    in http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00492.html.
---
 src/eval.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/eval.c b/src/eval.c
index 62e2196..39d7836 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -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);



reply via email to

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