Merge pull request #17226 from dundargoc/refactor/remove-redundant-code

vim-patch:8.2.4241: some type casts are redundant
This commit is contained in:
zeertzjq
2022-02-03 20:47:29 +08:00
committed by GitHub
16 changed files with 46 additions and 58 deletions

View File

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