aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-03 20:47:29 +0800
committerGitHub <noreply@github.com>2022-02-03 20:47:29 +0800
commit89e308d7daeb8b2344105877200c7c5ae83760b0 (patch)
tree17618e0b9ad59a16e9b4b16e1b8b0d6ea0dcafbf /src/nvim/screen.c
parent02d4c9158831be1ed89beb1c840d3d4efcf099c4 (diff)
parent2793fcae0ac2aef14c8f22636d579c68a97c0851 (diff)
downloadrneovim-89e308d7daeb8b2344105877200c7c5ae83760b0.tar.gz
rneovim-89e308d7daeb8b2344105877200c7c5ae83760b0.tar.bz2
rneovim-89e308d7daeb8b2344105877200c7c5ae83760b0.zip
Merge pull request #17226 from dundargoc/refactor/remove-redundant-code
vim-patch:8.2.4241: some type casts are redundant
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 56a658ec6d..7e7115b6af 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -6919,8 +6919,6 @@ void grid_ins_lines(ScreenGrid *grid, int row, int line_count, int end, int col,
if (!grid->throttled) {
ui_call_grid_scroll(grid->handle, row, end, col, col+width, -line_count, 0);
}
-
- return;
}
/// delete lines on the screen and move lines up.
@@ -6971,8 +6969,6 @@ void grid_del_lines(ScreenGrid *grid, int row, int line_count, int end, int col,
if (!grid->throttled) {
ui_call_grid_scroll(grid->handle, row, end, col, col+width, line_count, 0);
}
-
- return;
}