0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.778

Problem:    Coverity warns for uninitialized variable.
Solution:   Change condition of assignment.
This commit is contained in:
Bram Moolenaar 2015-07-10 22:38:00 +02:00
parent 86ae720d75
commit ae2fe73abc
2 changed files with 5 additions and 3 deletions

View File

@ -5702,10 +5702,10 @@ do_addsub(command, Prenum1, 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;
#ifdef FEAT_RIGHTLEFT

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
778,
/**/
777,
/**/