Skip to content

Commit 1357caf

Browse files
committed
patch 7.4.1232
Problem: Compiler warnings when the Sniff feature is enabled. Solution: Add UNUSED.
1 parent 19d2f15 commit 1357caf

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/gui_gtk_x11.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5421,9 +5421,9 @@ input_timer_cb(gpointer data)
54215421
*/
54225422
static void
54235423
sniff_request_cb(
5424-
gpointer data,
5425-
gint source_fd,
5426-
GdkInputCondition condition)
5424+
gpointer data UNUSED,
5425+
gint source_fd UNUSED,
5426+
GdkInputCondition condition UNUSED)
54275427
{
54285428
static char_u bytes[3] = {CSI, (int)KS_EXTRA, (int)KE_SNIFF};
54295429

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ static char *(features[]) =
742742

743743
static int included_patches[] =
744744
{ /* Add new patch number below this line */
745+
/**/
746+
1232,
745747
/**/
746748
1231,
747749
/**/

0 commit comments

Comments
 (0)