From ec1bf773dfe219d3480bc21422b8024b19df9117 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 27 Apr 2008 10:44:37 +0000 Subject: [PATCH] (XTread_socket): Fix use of uninitialized variable. --- src/ChangeLog | 2 ++ src/xterm.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index bd210d9f72f..4e28dc90fa7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2008-04-27 Andreas Schwab + * xterm.c (XTread_socket): Fix use of uninitialized variable. + * puresize.h (BASE_PURESIZE): Increase to 1200000. 2008-04-26 Eli Zaretskii 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) 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. */ -- 2.39.5