mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 7.4.1590
Problem: Warning for shadowed variable. (Christian Brabandt) Solution: Move the variable into a local block.
This commit is contained in:
@@ -21660,7 +21660,6 @@ handle_subscript(
|
||||
char_u *s;
|
||||
int len;
|
||||
typval_T functv;
|
||||
partial_T *pt = NULL;
|
||||
|
||||
while (ret == OK
|
||||
&& (**arg == '['
|
||||
@@ -21671,6 +21670,8 @@ handle_subscript(
|
||||
{
|
||||
if (**arg == '(')
|
||||
{
|
||||
partial_T *pt = NULL;
|
||||
|
||||
/* need to copy the funcref so that we can clear rettv */
|
||||
if (evaluate)
|
||||
{
|
||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1590,
|
||||
/**/
|
||||
1589,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user