patch 9.0.0521: compiler warns for unused argument in small version

Problem:    Compiler warns for unused argument in small version.
Solution:   Add UNUSED.
This commit is contained in:
Bram Moolenaar
2022-09-20 20:25:36 +01:00
parent 848db57e52
commit 31724238c8
2 changed files with 3 additions and 1 deletions

View File

@ -292,7 +292,7 @@ handle_lnum_col(
win_T *wp, win_T *wp,
winlinevars_T *wlv, winlinevars_T *wlv,
int sign_present UNUSED, int sign_present UNUSED,
int num_attr) int num_attr UNUSED)
{ {
if ((wp->w_p_nu || wp->w_p_rnu) if ((wp->w_p_nu || wp->w_p_rnu)
&& (wlv->row == wlv->startrow + wlv->filler_lines && (wlv->row == wlv->startrow + wlv->filler_lines

View File

@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
521,
/**/ /**/
520, 520,
/**/ /**/