changeset 30371:ba7db97776b2 v9.0.0521

patch 9.0.0521: compiler warns for unused argument in small version Commit: https://github.com/vim/vim/commit/31724238c8798113e0e11f61c52e0dc98bb21970 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 20 20:25:36 2022 +0100 patch 9.0.0521: compiler warns for unused argument in small version Problem: Compiler warns for unused argument in small version. Solution: Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Sep 2022 21:30:03 +0200
parents 234565f48d42
children 4c128844cb5d
files src/drawline.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -292,7 +292,7 @@ handle_lnum_col(
 	win_T		*wp,
 	winlinevars_T	*wlv,
 	int		sign_present UNUSED,
-	int		num_attr)
+	int		num_attr UNUSED)
 {
     if ((wp->w_p_nu || wp->w_p_rnu)
 	    && (wlv->row == wlv->startrow + wlv->filler_lines
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    521,
+/**/
     520,
 /**/
     519,