mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.778
Problem: Coverity warns for uninitialized variable.
Solution: Change condition of assignment.
ae2fe73abc
This commit is contained in:
parent
5ef1cb5c2e
commit
b3dbc9d90b
@ -4531,10 +4531,10 @@ int do_addsub(int command, linenr_T Prenum1, bool g_cmd)
|
||||
// reset
|
||||
subtract = false;
|
||||
negative = false;
|
||||
if (visual && VIsual_mode != Ctrl_V) {
|
||||
col = 0;
|
||||
} else {
|
||||
if (visual && VIsual_mode == Ctrl_V) {
|
||||
col = startcol;
|
||||
} else {
|
||||
col = 0;
|
||||
}
|
||||
Prenum1 += offset;
|
||||
curwin->w_set_curswant = true;
|
||||
|
@ -356,7 +356,7 @@ static int included_patches[] = {
|
||||
781,
|
||||
// 780 NA
|
||||
// 779,
|
||||
// 778,
|
||||
778,
|
||||
// 777 NA
|
||||
776,
|
||||
775,
|
||||
|
Loading…
Reference in New Issue
Block a user