summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-01 18:56:03 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-01 18:56:03 +0200
commitf9ca08e95ff5b66a02c75334264dd86508b2a453 (patch)
tree7b5f9a61318731b6b6d9d330da366c0d50e85700
parent85629985b71035608a37ba3bde86968481490d46 (diff)
patch 8.2.0879: compiler warning for unused function argumentv8.2.0879
Problem: Compiler warning for unused function argument. Solution: Add UNUSED.
-rw-r--r--src/search.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 802718d184..e0b0f9b455 100644
--- a/src/search.c
+++ b/src/search.c
@@ -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;
diff --git a/src/version.c b/src/version.c
index 4a271403a5..80be6d03b3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 879,
+/**/
878,
/**/
877,