diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2018-04-30 17:17:11 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-04-30 17:17:54 -0700 |
| commit | 65ac27783a959a8339c2aab0f1e54d9b508a1f1f (patch) | |
| tree | 5bc4b320aa5cb50203a68e2c589279d8d5b8ea8f /src/frame.c | |
| parent | 4b10800b59eadd532e74a49a35bc26e0e948b231 (diff) | |
| download | emacs-65ac27783a959a8339c2aab0f1e54d9b508a1f1f.tar.gz | |
Port --enable-gcc-warnings to GCC 8
Backport from master.
* lib-src/emacsclient.c (fail):
Do not dereference a null pointer.
* src/frame.c (delete_frame):
Add a decl with UNINIT to work around GCC bug 85563.
* src/menu.h (finish_menu_items):
Do not use attribute const.
* src/regex.c (analyze_first): Use FALLTHROUGH, not a comment.
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index cee775c6fa9..0a6ca26f5d7 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1933,6 +1933,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force) if (f == sf) { Lisp_Object tail; + Lisp_Object frame1 UNINIT; /* This line works around GCC bug 85563. */ eassume (CONSP (Vframe_list)); /* Look for another visible frame on the same terminal. |
