mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-31 01:20:37 -08:00
* xterm.c (x_connection_closed): Tell GCC not to suggest NO_RETURN.
This commit is contained in:
parent
28f1c69813
commit
2a8fade062
2 changed files with 5 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
(x_error_quitter, xembed_send_message, x_iconify_frame):
|
||||
(my_log_handler): Rename locals to avoid shadowing.
|
||||
(x_delete_glyphs, x_ins_del_lines): Mark with NO_RETURN.
|
||||
(x_connection_closed): Tell GCC not to suggest NO_RETURN.
|
||||
|
||||
* xfaces.c (clear_face_cache, Fx_list_fonts, Fface_font): Rename
|
||||
or move locals to avoid shadowing.
|
||||
|
|
|
|||
|
|
@ -7755,6 +7755,10 @@ For details, see etc/PROBLEMS.\n",
|
|||
|
||||
unbind_to (idx, Qnil);
|
||||
clear_waiting_for_input ();
|
||||
|
||||
/* Tell GCC not to suggest attribute 'noreturn' for this function. */
|
||||
IF_LINT (if (! terminal_list) return; )
|
||||
|
||||
/* Here, we absolutely have to use a non-local exit (e.g. signal, throw,
|
||||
longjmp), because returning from this function would get us back into
|
||||
Xlib's code which will directly call `exit'. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue