projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae936f
)
Fix unused variables on GTK
author
Po Lu
<luangruo@yahoo.com>
Tue, 31 May 2022 02:17:12 +0000
(10:17 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 31 May 2022 02:17:12 +0000
(10:17 +0800)
* src/xterm.c (x_wait_for_cell_change): Fix unused variables
on GTK builds.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 29991de21deeaa8f02996922e6d497654ca61a38..8d2365a5c3c71f9b26c749c8fe159cb32342cf22 100644
(file)
--- 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;