aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorEli Zaretskii2017-09-17 19:50:43 +0300
committerEli Zaretskii2017-09-17 19:50:43 +0300
commit411bec82c427b238dc67a69637834d2b64566670 (patch)
treed3ff99ebab4358005a171c740baaf71f90d9d032 /src/eval.c
parent34a6774daa31872629c03505f75d737e0df9eacb (diff)
downloademacs-411bec82c427b238dc67a69637834d2b64566670.tar.gz
emacs-411bec82c427b238dc67a69637834d2b64566670.zip
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 <eggert@cs.ucla.edu> in http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00492.html.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 62e219631db..39d78364d5f 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1428,7 +1428,7 @@ push_handler (Lisp_Object tag_ch_val, enum handlertype handlertype)
1428struct handler * 1428struct handler *
1429push_handler_nosignal (Lisp_Object tag_ch_val, enum handlertype handlertype) 1429push_handler_nosignal (Lisp_Object tag_ch_val, enum handlertype handlertype)
1430{ 1430{
1431 struct handler *c = handlerlist->nextfree; 1431 struct handler *CACHEABLE c = handlerlist->nextfree;
1432 if (!c) 1432 if (!c)
1433 { 1433 {
1434 c = malloc (sizeof *c); 1434 c = malloc (sizeof *c);