Mercurial > vim
comparison src/drawline.c @ 29623:4ddf25d17cda v9.0.0152
patch 9.0.0152: warning for unused argument in small build
Commit: https://github.com/vim/vim/commit/e2086350d3043fe4e7fece3754d454249459d5c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 6 14:21:52 2022 +0100
patch 9.0.0152: warning for unused argument in small build
Problem: Warning for unused argument in small build.
Solution: Add "UNUSED".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Aug 2022 15:30:03 +0200 |
parents | f1ed6f520d09 |
children | 78418bd45852 |
comparison
equal
deleted
inserted
replaced
29622:ead3bbcb2dac | 29623:4ddf25d17cda |
---|---|
367 | 367 |
368 /* | 368 /* |
369 * Start a screen line at column zero. | 369 * Start a screen line at column zero. |
370 */ | 370 */ |
371 static void | 371 static void |
372 win_line_start(win_T *wp, winlinevars_T *wlv) | 372 win_line_start(win_T *wp UNUSED, winlinevars_T *wlv) |
373 { | 373 { |
374 wlv->col = 0; | 374 wlv->col = 0; |
375 wlv->off = (unsigned)(current_ScreenLine - ScreenLines); | 375 wlv->off = (unsigned)(current_ScreenLine - ScreenLines); |
376 | 376 |
377 #ifdef FEAT_RIGHTLEFT | 377 #ifdef FEAT_RIGHTLEFT |