summaryrefslogtreecommitdiff
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-01 21:40:14 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-01 21:40:14 +0100
commit1357caf31f3e447d99baf8dd6a3243e2ab38567f (patch)
treec9bdabfe659486fcb3e4913360637371812e6053 /src/gui_gtk_x11.c
parent19d2f1589850d7db1ce77efec052929246f156e2 (diff)
downloadvim-git-1357caf31f3e447d99baf8dd6a3243e2ab38567f.tar.gz
patch 7.4.1232v7.4.1232
Problem: Compiler warnings when the Sniff feature is enabled. Solution: Add UNUSED.
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index ffac20ec0..9f6775fb8 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -5421,9 +5421,9 @@ input_timer_cb(gpointer data)
*/
static void
sniff_request_cb(
- gpointer data,
- gint source_fd,
- GdkInputCondition condition)
+ gpointer data UNUSED,
+ gint source_fd UNUSED,
+ GdkInputCondition condition UNUSED)
{
static char_u bytes[3] = {CSI, (int)KS_EXTRA, (int)KE_SNIFF};