From 042c33d3183e610f9e00128b7dc78c343b1b5e07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Sat, 23 Feb 2002 16:36:30 +0000 Subject: [PATCH] (enter_timestamp): Put in #if 0 to prevent warning. --- src/ChangeLog | 7 +++++++ src/xterm.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 7d07c91ca07..1593da3012f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2002-02-23 Pavel Jan,Bm(Bk + + * w32term.c (enter_timestamp): Remove unused static variable to + prevent warning. + + * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. + 2002-02-23 Eli Zaretskii * w16select.c (Fw16_get_clipboard_data): Fix last change. diff --git a/src/xterm.c b/src/xterm.c index 3e790d0aba0..7cb9e0f435c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -9881,11 +9881,13 @@ x_stop_queuing_selection_requests (display) /* The main X event-reading loop - XTread_socket. */ +#if 0 /* Time stamp of enter window event. This is only used by XTread_socket, but we have to put it out here, since static variables within functions sometimes don't work. */ static Time enter_timestamp; +#endif /* This holds the state XLookupString needs to implement dead keys and other tricks known as "compose processing". _X Window System_ -- 2.39.5