summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-07 21:46:56 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-07 21:46:56 +0100
commite5a420fb33518e08313f653f3031bc36f949e086 (patch)
tree3f52af0ad73b2e5b85494e632f5e2686249f3cbb
parent6f14da15ac900589f2f413d77898b9bff3b31ece (diff)
downloadvim-git-9.0.0412.tar.gz
patch 9.0.0412: compiler warning for unused argumentv9.0.0412
Problem: Compiler warning for unused argument. Solution: Add UNUSED.
-rw-r--r--src/charset.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c
index 79a281580..d26a696c7 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -943,7 +943,7 @@ vim_isprintc_strict(int c)
init_chartabsize_arg(
chartabsize_T *cts,
win_T *wp,
- linenr_T lnum,
+ linenr_T lnum UNUSED,
colnr_T col,
char_u *line,
char_u *ptr)
diff --git a/src/version.c b/src/version.c
index 78a1ae096..e243a4fc9 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 412,
+/**/
411,
/**/
410,