Commit 2a8fade0 authored by Paul Eggert's avatar Paul Eggert
Browse files

* xterm.c (x_connection_closed): Tell GCC not to suggest NO_RETURN.

parent 28f1c698
......@@ -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'. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment