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

* xterm.c: Don't declare local "event" unless it's used.

parent 7411c686
......@@ -7,6 +7,7 @@
(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.
Don't declare local "event" unless it's used.
 
* xfaces.c (clear_face_cache, Fx_list_fonts, Fface_font): Rename
or move locals to avoid shadowing.
......@@ -6991,7 +6991,6 @@ static int
XTread_socket (struct terminal *terminal, int expected, struct input_event *hold_quit)
{
int count = 0;
XEvent event;
int event_found = 0;
if (interrupt_input_blocked)
......@@ -7025,6 +7024,7 @@ XTread_socket (struct terminal *terminal, int expected, struct input_event *hold
while (XPending (terminal->display_info.x->display))
{
int finish;
XEvent event;
XNextEvent (terminal->display_info.x->display, &event);
......
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