mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.1732: vimexpr: shadowing variable
Problem: vimexpr: shadowing variable Solution: Rename local variable Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1732,
|
||||||
/**/
|
/**/
|
||||||
1731,
|
1731,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -1100,9 +1100,9 @@ compile_call(
|
|||||||
if (!has_g_namespace && !is_autoload
|
if (!has_g_namespace && !is_autoload
|
||||||
&& compile_load(&p, namebuf + varlen, cctx, FALSE, FALSE) == OK)
|
&& compile_load(&p, namebuf + varlen, cctx, FALSE, FALSE) == OK)
|
||||||
{
|
{
|
||||||
type_T *type = get_type_on_stack(cctx, 0);
|
type_T *s_type = get_type_on_stack(cctx, 0);
|
||||||
|
|
||||||
res = generate_PCALL(cctx, argcount, namebuf, type, FALSE);
|
res = generate_PCALL(cctx, argcount, namebuf, s_type, FALSE);
|
||||||
goto theend;
|
goto theend;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user