diff options
| author | Stefan Kangas | 2021-12-25 16:41:06 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2021-12-25 16:41:06 +0100 |
| commit | 7f43b3759d859177e6bce5d4e4cf0ba8d487d2b4 (patch) | |
| tree | 0d7888182e9bafa336d2208c928344f203836eab /src | |
| parent | fe80d24a0b4c86bbd6d61a1413e6797b3260be45 (diff) | |
| download | emacs-7f43b3759d859177e6bce5d4e4cf0ba8d487d2b4.tar.gz emacs-7f43b3759d859177e6bce5d4e4cf0ba8d487d2b4.zip | |
Fix unused variable warning in xfns.c
* src/xfns.c (Fx_server_input_version): Fix unused variable
warning.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index f911f9898a5..126e837b43c 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -4516,9 +4516,9 @@ major and minor versions of the X Input Extension extension running on | |||
| 4516 | that server. */) | 4516 | that server. */) |
| 4517 | (Lisp_Object terminal) | 4517 | (Lisp_Object terminal) |
| 4518 | { | 4518 | { |
| 4519 | #ifdef HAVE_XINPUT2 | ||
| 4519 | struct x_display_info *dpyinfo = check_x_display_info (terminal); | 4520 | struct x_display_info *dpyinfo = check_x_display_info (terminal); |
| 4520 | 4521 | ||
| 4521 | #ifdef HAVE_XINPUT2 | ||
| 4522 | return (dpyinfo->supports_xi2 | 4522 | return (dpyinfo->supports_xi2 |
| 4523 | ? list2i (2, dpyinfo->xi2_version) | 4523 | ? list2i (2, dpyinfo->xi2_version) |
| 4524 | : Qnil); | 4524 | : Qnil); |