diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-01-04 02:29:35 +0100 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-07-18 11:47:09 +0200 |
commit | 6f9e219f6083a645e09c6c05156624a3be66b6ce (patch) | |
tree | 591e567a329615b6e6ee4c3bf66b78c8680030f8 | |
parent | c36df20aef22288f47e19084d2671327f7cd878c (diff) | |
download | rneovim-6f9e219f6083a645e09c6c05156624a3be66b6ce.tar.gz rneovim-6f9e219f6083a645e09c6c05156624a3be66b6ce.tar.bz2 rneovim-6f9e219f6083a645e09c6c05156624a3be66b6ce.zip |
chore(PVS/V751): tui.c, Parameter is not used
False positive. Documentation for grid_scroll says "`cols` is always
zero, reserved for future use".
-rw-r--r-- | src/nvim/tui/tui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index 431237bac5..70d39339c3 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -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, Integer startcol, Integer endcol, - Integer rows, Integer cols FUNC_ATTR_UNUSED) + Integer rows, + Integer cols FUNC_ATTR_UNUSED) // -V751 { TUIData *data = ui->data; UGrid *grid = &data->grid; |