changeset 30152:1e6d387bd51f v9.0.0412

patch 9.0.0412: compiler warning for unused argument Commit: https://github.com/vim/vim/commit/e5a420fb33518e08313f653f3031bc36f949e086 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 7 21:46:56 2022 +0100 patch 9.0.0412: compiler warning for unused argument Problem: Compiler warning for unused argument. Solution: Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Sep 2022 23:00:06 +0200
parents c51f0fe92cf5
children d501a55cb205
files src/charset.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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,