* annotate.c (annotate_array_section_begin): Rename `index' to

`idx'(-Wshadow).
This commit is contained in:
Andrey Smirnov 2011-12-11 02:44:15 +00:00
parent d48ebb5b06
commit 917793afae
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
* annotate.c (annotate_array_section_begin): Rename `index' to
`idx'(-Wshadow).
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
* amd64-tdep.c (amd64_get_unused_input_int_reg): Rename `index' to

View File

@ -522,11 +522,11 @@ annotate_frame_end (void)
}
void
annotate_array_section_begin (int index, struct type *elttype)
annotate_array_section_begin (int idx, struct type *elttype)
{
if (annotation_level == 2)
{
printf_filtered (("\n\032\032array-section-begin %d "), index);
printf_filtered (("\n\032\032array-section-begin %d "), idx);
print_value_flags (elttype);
printf_filtered (("\n"));
}