aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPaul Eggert2011-03-08 23:07:42 -0800
committerPaul Eggert2011-03-08 23:07:42 -0800
commit2b07bcffb0e2b6cef517406cbc979ac14e46cd8e (patch)
tree88df81d75f81d84fd89010ea71cb8de5e6e753da /src/xterm.c
parent7411c6867f74428cf2441cb2b1bd5100185b9a03 (diff)
downloademacs-2b07bcffb0e2b6cef517406cbc979ac14e46cd8e.tar.gz
emacs-2b07bcffb0e2b6cef517406cbc979ac14e46cd8e.zip
* xterm.c: Don't declare local "event" unless it's used.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 4c7fc1b9b1e..f253ed0aa3f 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6991,7 +6991,6 @@ static int
6991XTread_socket (struct terminal *terminal, int expected, struct input_event *hold_quit) 6991XTread_socket (struct terminal *terminal, int expected, struct input_event *hold_quit)
6992{ 6992{
6993 int count = 0; 6993 int count = 0;
6994 XEvent event;
6995 int event_found = 0; 6994 int event_found = 0;
6996 6995
6997 if (interrupt_input_blocked) 6996 if (interrupt_input_blocked)
@@ -7025,6 +7024,7 @@ XTread_socket (struct terminal *terminal, int expected, struct input_event *hold
7025 while (XPending (terminal->display_info.x->display)) 7024 while (XPending (terminal->display_info.x->display))
7026 { 7025 {
7027 int finish; 7026 int finish;
7027 XEvent event;
7028 7028
7029 XNextEvent (terminal->display_info.x->display, &event); 7029 XNextEvent (terminal->display_info.x->display, &event);
7030 7030