mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
vim-patch:8.2.4241: some type casts are redundant
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes vim/vim#9643)
420fabcd4f
This is not a literal port but an equivalent one.
This commit is contained in:
@@ -381,8 +381,8 @@ static void shift_block(oparg_T *oap, int amount)
|
||||
}
|
||||
}
|
||||
for (; ascii_iswhite(*bd.textstart);) {
|
||||
// TODO: is passing bd.textstart for start of the line OK?
|
||||
incr = lbr_chartabsize_adv(bd.textstart, &bd.textstart, (bd.start_vcol));
|
||||
// TODO(fmoralesc): is passing bd.textstart for start of the line OK?
|
||||
incr = lbr_chartabsize_adv(bd.textstart, &bd.textstart, bd.start_vcol);
|
||||
total += incr;
|
||||
bd.start_vcol += incr;
|
||||
}
|
||||
@@ -2789,8 +2789,6 @@ static void op_yank_reg(oparg_T *oap, bool message, yankreg_T *reg, bool append)
|
||||
curbuf->b_op_end.col = MAXCOL;
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// Copy a block range into a register.
|
||||
|
Reference in New Issue
Block a user