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:
Justin M. Keyes 2019-01-04 02:29:35 +01:00 committed by Dundar Göc
parent c36df20aef
commit 6f9e219f60

View File

@ -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;