Patch 7.4.778
Problem:    Coverity warns for uninitialized variable.
Solution:   Change condition of assignment.
Files:      src/ops.c


*** ../vim-7.4.777/src/ops.c    2015-07-03 12:44:01.735748596 +0200
--- src/ops.c   2015-07-10 21:44:12.118882050 +0200
***************
*** 5702,5711 ****
        /* reset */
        subtract = FALSE;
        negative = FALSE;
!       if (visual && VIsual_mode != Ctrl_V)
!           col = 0;
!       else
            col = startcol;
        Prenum1 += offset;
        curwin->w_set_curswant = TRUE;
  #ifdef FEAT_RIGHTLEFT
--- 5702,5711 ----
        /* reset */
        subtract = FALSE;
        negative = FALSE;
!       if (visual && VIsual_mode == Ctrl_V)
            col = startcol;
+       else
+           col = 0;
        Prenum1 += offset;
        curwin->w_set_curswant = TRUE;
  #ifdef FEAT_RIGHTLEFT
*** ../vim-7.4.777/src/version.c        2015-07-10 19:21:45.667489110 +0200
--- src/version.c       2015-07-10 22:37:05.097309995 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     778,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
206. You religiously respond immediately to e-mail, while ignoring
     your growing pile of snail mail.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui