(XTread_socket): Fix use of uninitialized variable.

This commit is contained in:
Andreas Schwab 2008-04-27 10:44:37 +00:00
parent ea6104a81e
commit ec1bf773df
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2008-04-27 Andreas Schwab <schwab@suse.de>
* xterm.c (XTread_socket): Fix use of uninitialized variable.
* puresize.h (BASE_PURESIZE): Increase to 1200000.
2008-04-26 Eli Zaretskii <eliz@gnu.org>

View file

@ -7329,7 +7329,9 @@ XTread_socket (terminal, expected, hold_quit)
int count = 0;
XEvent event;
int event_found = 0;
#if 0
struct x_display_info *dpyinfo;
#endif
if (interrupt_input_blocked)
{
@ -7366,7 +7368,7 @@ XTread_socket (terminal, expected, hold_quit)
if (terminal->display_info.x == XTread_socket_fake_io_error)
{
XTread_socket_fake_io_error = 0;
x_io_error_quitter (dpyinfo->display);
x_io_error_quitter (terminal->display_info.x->display);
}
#if 0 /* This loop is a noop now. */