1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 08:10:43 -08:00

Fix unused variable warning in xfns.c

* src/xfns.c (Fx_server_input_version): Fix unused variable
warning.
This commit is contained in:
Stefan Kangas 2021-12-25 16:41:06 +01:00
parent fe80d24a0b
commit 7f43b3759d

View file

@ -4516,9 +4516,9 @@ major and minor versions of the X Input Extension extension running on
that server. */)
(Lisp_Object terminal)
{
#ifdef HAVE_XINPUT2
struct x_display_info *dpyinfo = check_x_display_info (terminal);
#ifdef HAVE_XINPUT2
return (dpyinfo->supports_xi2
? list2i (2, dpyinfo->xi2_version)
: Qnil);