diff options
| author | Andreas Schwab | 2008-04-27 10:44:37 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-04-27 10:44:37 +0000 |
| commit | ec1bf773dfe219d3480bc21422b8024b19df9117 (patch) | |
| tree | 45523c4934bf7a01a497f8b32e4e457d9ed79646 /src/xterm.c | |
| parent | ea6104a81e0459e3b901ccdb588762ecf1ba9fc4 (diff) | |
| download | emacs-ec1bf773dfe219d3480bc21422b8024b19df9117.tar.gz emacs-ec1bf773dfe219d3480bc21422b8024b19df9117.zip | |
(XTread_socket): Fix use of uninitialized variable.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 147e492e7d5..5dda7ed2c5d 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -7329,7 +7329,9 @@ XTread_socket (terminal, expected, hold_quit) | |||
| 7329 | int count = 0; | 7329 | int count = 0; |
| 7330 | XEvent event; | 7330 | XEvent event; |
| 7331 | int event_found = 0; | 7331 | int event_found = 0; |
| 7332 | #if 0 | ||
| 7332 | struct x_display_info *dpyinfo; | 7333 | struct x_display_info *dpyinfo; |
| 7334 | #endif | ||
| 7333 | 7335 | ||
| 7334 | if (interrupt_input_blocked) | 7336 | if (interrupt_input_blocked) |
| 7335 | { | 7337 | { |
| @@ -7366,7 +7368,7 @@ XTread_socket (terminal, expected, hold_quit) | |||
| 7366 | if (terminal->display_info.x == XTread_socket_fake_io_error) | 7368 | if (terminal->display_info.x == XTread_socket_fake_io_error) |
| 7367 | { | 7369 | { |
| 7368 | XTread_socket_fake_io_error = 0; | 7370 | XTread_socket_fake_io_error = 0; |
| 7369 | x_io_error_quitter (dpyinfo->display); | 7371 | x_io_error_quitter (terminal->display_info.x->display); |
| 7370 | } | 7372 | } |
| 7371 | 7373 | ||
| 7372 | #if 0 /* This loop is a noop now. */ | 7374 | #if 0 /* This loop is a noop now. */ |