emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 75bf80e2b1 2/2: Fix unused variables on GTK


From: Po Lu
Subject: master 75bf80e2b1 2/2: Fix unused variables on GTK
Date: Mon, 30 May 2022 22:17:36 -0400 (EDT)

branch: master
commit 75bf80e2b136903525a54d6c53d69571e7b1332e
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix unused variables on GTK
    
    * src/xterm.c (x_wait_for_cell_change): Fix unused variables
    on GTK builds.
---
 src/xterm.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/xterm.c b/src/xterm.c
index 29991de21d..8d2365a5c3 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;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]