Declare use_xtest in #ifdef HAVE_XTEST_H

Prevents harmless unused variable warning.
pull/52/head
Stephen Hurd 2022-01-28 13:27:05 -05:00
rodzic 83b6124188
commit 5f91c9c107
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -26,10 +26,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef HAVE_XTEST_H
#include <X11/extensions/XTest.h>
static int use_xtest;
#endif
static Display *dpy;
static int use_xtest;
void kbemu_set_display(Display *d)
{