0
0
mirror of https://github.com/vim/vim.git synced 2025-10-09 06:14:17 -04:00

patch 8.2.4839: compiler warning for unused argument

Problem:    Compiler warning for unused argument.
Solution:   Add "UNUSED".
This commit is contained in:
Bram Moolenaar
2022-04-28 15:39:08 +01:00
parent dca1d40cd0
commit 0a748d9184
2 changed files with 3 additions and 1 deletions

View File

@@ -1314,7 +1314,7 @@ key_press_event(GtkWidget *widget UNUSED,
#if defined(FEAT_XIM) || GTK_CHECK_VERSION(3,0,0) #if defined(FEAT_XIM) || GTK_CHECK_VERSION(3,0,0)
static gboolean static gboolean
key_release_event(GtkWidget *widget UNUSED, key_release_event(GtkWidget *widget UNUSED,
GdkEventKey *event, GdkEventKey *event UNUSED,
gpointer data UNUSED) gpointer data UNUSED)
{ {
# if defined(FEAT_XIM) # if defined(FEAT_XIM)

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4839,
/**/ /**/
4838, 4838,
/**/ /**/