Commit 7411c686 authored by Paul Eggert's avatar Paul Eggert
Browse files

* xterm.c (XTread_socket): Don't define label "out" unless it's used.

parent cdf4ba58
......@@ -6,6 +6,7 @@
Remove unused functions.
(x_shift_glyphs_for_insert, XTflash, XTring_bell):
(x_calc_absolute_position): Now static.
(XTread_socket): Don't define label "out" unless it's used.
 
* xfaces.c (clear_face_cache, Fx_list_fonts, Fface_font): Rename
or move locals to avoid shadowing.
......@@ -7042,6 +7042,8 @@ XTread_socket (struct terminal *terminal, int expected, struct input_event *hold
goto out;
}
out:;
#else /* USE_GTK */
/* For GTK we must use the GTK event loop. But XEvents gets passed
......@@ -7068,8 +7070,6 @@ XTread_socket (struct terminal *terminal, int expected, struct input_event *hold
}
#endif /* USE_GTK */
out:;
/* On some systems, an X bug causes Emacs to get no more events
when the window is destroyed. Detect that. (1994.) */
if (! event_found)
......
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