From 6f9e219f6083a645e09c6c05156624a3be66b6ce Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 4 Jan 2019 02:29:35 +0100 Subject: chore(PVS/V751): tui.c, Parameter is not used False positive. Documentation for grid_scroll says "`cols` is always zero, reserved for future use". --- src/nvim/tui/tui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit