From 1357caf31f3e447d99baf8dd6a3243e2ab38567f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 1 Feb 2016 21:40:14 +0100 Subject: [PATCH] patch 7.4.1232 Problem: Compiler warnings when the Sniff feature is enabled. Solution: Add UNUSED. --- src/gui_gtk_x11.c | 6 +++--- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index ffac20ec0f..9f6775fb8c 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}; diff --git a/src/version.c b/src/version.c index 911b20e92b..04231004f6 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1232, /**/ 1231, /**/