]> granicus.if.org Git - vim/commitdiff
patch 8.2.4839: compiler warning for unused argument v8.2.4839
authorBram Moolenaar <Bram@vim.org>
Thu, 28 Apr 2022 14:39:08 +0000 (15:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 28 Apr 2022 14:39:08 +0000 (15:39 +0100)
Problem:    Compiler warning for unused argument.
Solution:   Add "UNUSED".

src/gui_gtk_x11.c
src/version.c

index 4460fb3cf75c0c5ab7bef3b46d669a6e422896b3..0cd661303290814b1e0606b7657cb21d5a8620c2 100644 (file)
@@ -1314,7 +1314,7 @@ key_press_event(GtkWidget *widget UNUSED,
 #if defined(FEAT_XIM) || GTK_CHECK_VERSION(3,0,0)
     static gboolean
 key_release_event(GtkWidget *widget UNUSED,
-                 GdkEventKey *event,
+                 GdkEventKey *event UNUSED,
                  gpointer data UNUSED)
 {
 # if defined(FEAT_XIM)
index 1b87213bc2ab936dea98a7afab4f8fc197a0005d..c3b632666981dcdc7cf33e73952f2de002fb3eb8 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4839,
 /**/
     4838,
 /**/