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 | |
| parent | ea6104a81e0459e3b901ccdb588762ecf1ba9fc4 (diff) | |
| download | emacs-ec1bf773dfe219d3480bc21422b8024b19df9117.tar.gz emacs-ec1bf773dfe219d3480bc21422b8024b19df9117.zip | |
(XTread_socket): Fix use of uninitialized variable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xterm.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bd210d9f72f..4e28dc90fa7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2008-04-27 Andreas Schwab <schwab@suse.de> | 1 | 2008-04-27 Andreas Schwab <schwab@suse.de> |
| 2 | 2 | ||
| 3 | * xterm.c (XTread_socket): Fix use of uninitialized variable. | ||
| 4 | |||
| 3 | * puresize.h (BASE_PURESIZE): Increase to 1200000. | 5 | * puresize.h (BASE_PURESIZE): Increase to 1200000. |
| 4 | 6 | ||
| 5 | 2008-04-26 Eli Zaretskii <eliz@gnu.org> | 7 | 2008-04-26 Eli Zaretskii <eliz@gnu.org> |
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. */ |