1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00

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

This commit is contained in:
Paul Eggert 2011-03-08 23:07:42 -08:00
parent 7411c6867f
commit 2b07bcffb0
2 changed files with 2 additions and 1 deletions

View file

@ -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.

View file

@ -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);