Patch 8.0.0266
Problem:    Compiler warning for using uninitialized variable.
Solution:   Set tab_number also when there is an error.
Files:      src/ex_docmd.c


*** ../vim-8.0.0265/src/ex_docmd.c      2017-01-29 15:18:04.896478906 +0100
--- src/ex_docmd.c      2017-01-29 21:40:06.796879123 +0100
***************
*** 7533,7539 ****
--- 7533,7542 ----
      else if (eap->addr_count > 0)
      {
        if (unaccept_arg0 && eap->line2 == 0)
+       {
            eap->errmsg = e_invrange;
+           tab_number = 0;
+       }
        else
        {
            tab_number = eap->line2;
*** ../vim-8.0.0265/src/version.c       2017-01-29 21:30:48.332627641 +0100
--- src/version.c       2017-01-29 21:41:16.176415658 +0100
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     266,
  /**/

-- 
Life is a gift, living is an art.               (Bram Moolenaar)

 /// 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