patch 9.0.0152: warning for unused argument in small build

Problem:    Warning for unused argument in small build.
Solution:   Add "UNUSED".
This commit is contained in:
Bram Moolenaar
2022-08-06 14:21:52 +01:00
parent 4d91d347e6
commit e2086350d3
2 changed files with 3 additions and 1 deletions

View File

@ -369,7 +369,7 @@ draw_screen_line(win_T *wp, winlinevars_T *wlv)
* Start a screen line at column zero.
*/
static void
win_line_start(win_T *wp, winlinevars_T *wlv)
win_line_start(win_T *wp UNUSED, winlinevars_T *wlv)
{
wlv->col = 0;
wlv->off = (unsigned)(current_ScreenLine - ScreenLines);

View File

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