mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
chore(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
c36df20aef
commit
6f9e219f60
@ -1125,7 +1125,8 @@ static void tui_mode_change(UI *ui, String mode, Integer mode_idx)
|
|||||||
|
|
||||||
static void tui_grid_scroll(UI *ui, Integer g, Integer startrow, Integer endrow,
|
static void tui_grid_scroll(UI *ui, Integer g, Integer startrow, Integer endrow,
|
||||||
Integer startcol, Integer endcol,
|
Integer startcol, Integer endcol,
|
||||||
Integer rows, Integer cols FUNC_ATTR_UNUSED)
|
Integer rows,
|
||||||
|
Integer cols FUNC_ATTR_UNUSED) // -V751
|
||||||
{
|
{
|
||||||
TUIData *data = ui->data;
|
TUIData *data = ui->data;
|
||||||
UGrid *grid = &data->grid;
|
UGrid *grid = &data->grid;
|
||||||
|
Loading…
Reference in New Issue
Block a user