* src/reader.c (parse_dquoted_param): Rename variable index' to i'.

This one shadowed a global parameter.
This commit is contained in:
Marc Autret
2001-08-26 23:36:42 +00:00
parent aecd294cb0
commit dfaa776005
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
2001-08-27 Marc Autret <autret_m@epita.fr>
* src/reader.c (parse_dquoted_param): Rename variable `index' to `i'.
This one shadowed a global parameter.
2001-08-24 Marc Autret <autret_m@epita.fr>
* src/print_graph.c (node_output_size): Declared POSIX `size_t' type,

View File

@@ -883,7 +883,7 @@ parse_dquoted_param (const char *from)
{
char buff[32];
int c;
int index;
int i;
c = skip_white_space ();
@@ -895,7 +895,7 @@ parse_dquoted_param (const char *from)
}
c = getc (finput);
for (index = 0; (c >= '!') && (c <= '~'); index++)
for (i = 0; (c >= '!') && (c <= '~'); i++)
{
if (c == '"')
break;
@@ -907,10 +907,10 @@ parse_dquoted_param (const char *from)
break;
}
buff[index] = c;
buff[i] = c;
c = getc (finput);
}
buff[index] = '\0';
buff[i] = '\0';
if (c != '"')
{