]> granicus.if.org Git - vim/commitdiff
patch 8.2.0879: compiler warning for unused function argument v8.2.0879
authorBram Moolenaar <Bram@vim.org>
Mon, 1 Jun 2020 16:56:03 +0000 (18:56 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 1 Jun 2020 16:56:03 +0000 (18:56 +0200)
Problem:    Compiler warning for unused function argument.
Solution:   Add UNUSED.

src/search.c
src/version.c

index 802718d1841cb05b2f85e36398e15a2bd9ed3289..e0b0f9b455f48c599d05c7a5d1ffd00240f69613 100644 (file)
@@ -3170,7 +3170,7 @@ update_search_stat(
     searchstat_T       *stat,
     int                        recompute,
     int                        maxcount,
-    long               timeout)
+    long               timeout UNUSED)
 {
     int                    save_ws = p_ws;
     int                    wraparound = FALSE;
index 4a271403a5b277d6683b5e438bfdef745910372a..80be6d03b387b635e75140f98cfb6354fc6744fc 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    879,
 /**/
     878,
 /**/