From: Po Lu Date: Tue, 31 May 2022 02:17:12 +0000 (+0800) Subject: Fix unused variables on GTK X-Git-Tag: emacs-29.0.90~1910^2~324 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75bf80e2b136903525a54d6c53d69571e7b1332e;p=emacs.git Fix unused variables on GTK * src/xterm.c (x_wait_for_cell_change): Fix unused variables on GTK builds. --- diff --git a/src/xterm.c b/src/xterm.c index 29991de21de..8d2365a5c3c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -14843,8 +14843,11 @@ x_wait_for_cell_change (Lisp_Object cell, struct timespec timeout) { struct x_display_info *dpyinfo; fd_set fds; - int fd, maxfd, finish; + int fd, maxfd; +#ifndef USE_GTK + int finish; XEvent event; +#endif struct input_event hold_quit; struct timespec current, at;