Mercurial > vim
changeset 7870:fb5ba6fbc843 v7.4.1232
commit https://github.com/vim/vim/commit/1357caf31f3e447d99baf8dd6a3243e2ab38567f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 1 21:40:14 2016 +0100
patch 7.4.1232
Problem: Compiler warnings when the Sniff feature is enabled.
Solution: Add UNUSED.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 01 Feb 2016 21:45:06 +0100 |
parents | 3d770587b41c |
children | c5eb970c8c87 |
files | src/gui_gtk_x11.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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};