diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-01-08 01:08:55 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-01-08 01:08:55 -0500 |
commit | 45759e44f9cff9deef1538933fad3e42f94d5930 (patch) | |
tree | 60be89d40786ca00ec898ab09a7238b01da3412e /src/nvim/tui/tui.c | |
parent | 3d6cca5a9d7cc9c13af631d2c6d652096203ce13 (diff) | |
download | rneovim-45759e44f9cff9deef1538933fad3e42f94d5930.tar.gz rneovim-45759e44f9cff9deef1538933fad3e42f94d5930.tar.bz2 rneovim-45759e44f9cff9deef1538933fad3e42f94d5930.zip |
Remove (void) hacks, Mark unused attrs
Diffstat (limited to 'src/nvim/tui/tui.c')
-rw-r--r-- | src/nvim/tui/tui.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index e168cf079a..e9276db484 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -1073,9 +1073,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) + Integer rows, Integer cols FUNC_ATTR_UNUSED) { - (void)cols; // unused TUIData *data = ui->data; UGrid *grid = &data->grid; int top = (int)startrow, bot = (int)endrow-1; |