mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
PVS/V751: tui.c, Parameter is not used
False positive. Documentation for grid_scroll says "`cols` is always zero, reserved for future use".
This commit is contained in:
parent
423b6d9907
commit
788ade1d29
@ -1052,6 +1052,7 @@ static void tui_grid_scroll(UI *ui, Integer g, Integer startrow, Integer endrow,
|
||||
Integer startcol, Integer endcol,
|
||||
Integer rows, Integer cols)
|
||||
{
|
||||
(void)cols; // unused
|
||||
TUIData *data = ui->data;
|
||||
UGrid *grid = &data->grid;
|
||||
int top = (int)startrow, bot = (int)endrow-1;
|
||||
|
Loading…
Reference in New Issue
Block a user