aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-07-25 19:19:56 +0200
committerGitHub <noreply@github.com>2021-07-25 10:19:56 -0700
commitf15c74550252a553eaecb3f55af60d7f7ae27540 (patch)
tree9cf1b76b27b8ad7d6f27d1da446487d5c72707ef /src
parent53f70bb18350c266c43289a9b492d7245191a3d6 (diff)
downloadrneovim-f15c74550252a553eaecb3f55af60d7f7ae27540.tar.gz
rneovim-f15c74550252a553eaecb3f55af60d7f7ae27540.tar.bz2
rneovim-f15c74550252a553eaecb3f55af60d7f7ae27540.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/tui/tui.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
index 70d39339c3..dcc086a0cf 100644
--- a/src/nvim/tui/tui.c
+++ b/src/nvim/tui/tui.c
@@ -1123,10 +1123,9 @@ static void tui_mode_change(UI *ui, String mode, Integer mode_idx)
data->showing_mode = (ModeShape)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) // -V751
+static void tui_grid_scroll(UI *ui, Integer g, Integer startrow, // -V751
+ Integer endrow, Integer startcol, Integer endcol,
+ Integer rows, Integer cols FUNC_ATTR_UNUSED)
{
TUIData *data = ui->data;
UGrid *grid = &data->grid;