Patch 7.4.1590
Problem:    Warning for shadowed variable. (Christian Brabandt)
Solution:   Move the variable into a local block.
Files:      src/eval.c


*** ../vim-7.4.1589/src/eval.c  2016-03-17 23:13:24.174681447 +0100
--- src/eval.c  2016-03-18 19:37:07.953720231 +0100
***************
*** 21660,21666 ****
      char_u    *s;
      int               len;
      typval_T  functv;
-     partial_T *pt = NULL;
  
      while (ret == OK
            && (**arg == '['
--- 21660,21665 ----
***************
*** 21671,21676 ****
--- 21670,21677 ----
      {
        if (**arg == '(')
        {
+           partial_T   *pt = NULL;
+ 
            /* need to copy the funcref so that we can clear rettv */
            if (evaluate)
            {
*** ../vim-7.4.1589/src/version.c       2016-03-17 23:13:24.174681447 +0100
--- src/version.c       2016-03-18 19:38:53.784603110 +0100
***************
*** 750,751 ****
--- 750,753 ----
  {   /* Add new patch number below this line */
+ /**/
+     1590,
  /**/

-- 
Q: How many legs does a giraffe have?
A: Eight: two in front, two behind, two on the left and two on the right

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