From 917793afae7ed8e9145445cefd11c58362b9a0f7 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sun, 11 Dec 2011 02:44:15 +0000 Subject: * annotate.c (annotate_array_section_begin): Rename `index' to `idx'(-Wshadow). --- gdb/annotate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/annotate.c') diff --git a/gdb/annotate.c b/gdb/annotate.c index 2f0769a..93c65a1 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")); } -- cgit v1.1