diff options
author | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-11 02:44:15 +0000 |
---|---|---|
committer | Andrey Smirnov <ndreys@sourceware.org> | 2011-12-11 02:44:15 +0000 |
commit | 917793afae7ed8e9145445cefd11c58362b9a0f7 (patch) | |
tree | d2e9eb6a9a745bd5c98d30c7d32f641ebea25fa0 /gdb/annotate.c | |
parent | d48ebb5b06f1075b5689a57ca1f027ce4a782921 (diff) | |
download | ppe42-binutils-917793afae7ed8e9145445cefd11c58362b9a0f7.tar.gz ppe42-binutils-917793afae7ed8e9145445cefd11c58362b9a0f7.zip |
* annotate.c (annotate_array_section_begin): Rename `index' to
`idx'(-Wshadow).
Diffstat (limited to 'gdb/annotate.c')
-rw-r--r-- | gdb/annotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/annotate.c b/gdb/annotate.c index 2f0769aeaf..93c65a1e4c 100644 --- a/gdb/annotate.c +++ b/gdb/annotate.c @@ -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")); } |