chore: PVS/V751: ignore warning #15153

There's already an ignore directive but it's placed on the wrong line.
This commit should correct it.
This commit is contained in:
dundargoc
2021-07-25 19:19:56 +02:00
committed by GitHub
parent 53f70bb183
commit f15c745502

View File

@@ -1123,10 +1123,9 @@ static void tui_mode_change(UI *ui, String mode, Integer mode_idx)
data->showing_mode = (ModeShape)mode_idx; data->showing_mode = (ModeShape)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, // -V751
Integer startcol, Integer endcol, Integer endrow, Integer startcol, Integer endcol,
Integer rows, Integer rows, Integer cols FUNC_ATTR_UNUSED)
Integer cols FUNC_ATTR_UNUSED) // -V751
{ {
TUIData *data = ui->data; TUIData *data = ui->data;
UGrid *grid = &data->grid; UGrid *grid = &data->grid;