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.
This commit is contained in:
parent
34a6774daa
commit
411bec82c4
1 changed files with 1 additions and 1 deletions
|
@ -1428,7 +1428,7 @@ push_handler (Lisp_Object tag_ch_val, enum handlertype handlertype)
|
||||||
struct handler *
|
struct handler *
|
||||||
push_handler_nosignal (Lisp_Object tag_ch_val, enum handlertype handlertype)
|
push_handler_nosignal (Lisp_Object tag_ch_val, enum handlertype handlertype)
|
||||||
{
|
{
|
||||||
struct handler *c = handlerlist->nextfree;
|
struct handler *CACHEABLE c = handlerlist->nextfree;
|
||||||
if (!c)
|
if (!c)
|
||||||
{
|
{
|
||||||
c = malloc (sizeof *c);
|
c = malloc (sizeof *c);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue