diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-01 21:40:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-01 21:40:14 +0100 |
commit | 1357caf31f3e447d99baf8dd6a3243e2ab38567f (patch) | |
tree | c9bdabfe659486fcb3e4913360637371812e6053 | |
parent | 19d2f1589850d7db1ce77efec052929246f156e2 (diff) | |
download | vim-git-1357caf31f3e447d99baf8dd6a3243e2ab38567f.tar.gz |
patch 7.4.1232v7.4.1232
Problem: Compiler warnings when the Sniff feature is enabled.
Solution: Add UNUSED.
-rw-r--r-- | src/gui_gtk_x11.c | 6 | ||||
-rw-r--r-- | 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 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}; diff --git a/src/version.c b/src/version.c index 911b20e92..04231004f 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1232, +/**/ 1231, /**/ 1230, |