diff options
| author | Eli Zaretskii | 2017-09-17 19:50:43 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-09-17 19:50:43 +0300 |
| commit | 411bec82c427b238dc67a69637834d2b64566670 (patch) | |
| tree | d3ff99ebab4358005a171c740baaf71f90d9d032 /src/eval.c | |
| parent | 34a6774daa31872629c03505f75d737e0df9eacb (diff) | |
| download | emacs-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.c | 2 |
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) | |||
| 1428 | struct handler * | 1428 | struct handler * |
| 1429 | push_handler_nosignal (Lisp_Object tag_ch_val, enum handlertype handlertype) | 1429 | push_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); |