0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.400

Problem:    Compiler warnings for shadowed variables.
Solution:   Remove or rename the variables.
This commit is contained in:
Bram Moolenaar
2012-01-10 22:26:17 +01:00
parent 1f5965b3c4
commit 70b2a56d5a
19 changed files with 167 additions and 162 deletions

View File

@@ -4006,17 +4006,17 @@ syn_list_one(id, syncing, link_only)
}
static void
syn_list_flags(nl, flags, attr)
struct name_list *nl;
syn_list_flags(nlist, flags, attr)
struct name_list *nlist;
int flags;
int attr;
{
int i;
for (i = 0; nl[i].flag != 0; ++i)
if (flags & nl[i].flag)
for (i = 0; nlist[i].flag != 0; ++i)
if (flags & nlist[i].flag)
{
msg_puts_attr((char_u *)nl[i].name, attr);
msg_puts_attr((char_u *)nlist[i].name, attr);
msg_putchar(' ');
}
}