Fix the GTK build

* src/xterm.c (x_wait_for_cell_change): Don't initialize rfds
on GTK.
This commit is contained in:
Po Lu 2022-06-01 08:57:52 +08:00
parent 5ed566cae0
commit 3b9bbb24eb

View file

@ -14857,9 +14857,9 @@ x_wait_for_cell_change (Lisp_Object cell, struct timespec timeout)
struct timespec current, at;
at = timespec_add (current_timespec (), timeout);
FD_ZERO (&rfds);
#ifndef USE_GTK
FD_ZERO (&rfds);
rc = 0;
#endif