[PATCH 21/348] Fix -Wsahdow warnings

Tom Tromey tromey@redhat.com
Wed Nov 23 16:57:00 GMT 2011


>>>>> "Mark" == Mark Kettenis <mark.kettenis@xs4all.nl> writes:

>> From: Andrey Smirnov <andrew.smirnov@gmail.com>
>> Date: Tue, 22 Nov 2011 20:03:12 +0700
>> 
>> * annotate.c (annotate_array_section_begin): Fix -Wshadow
>> warnings.

Mark> Again, why does -Wshadow complain about this?

'index' is an old form of strchr.
It is probably declared in his libc headers.

Tom



More information about the Gdb-patches mailing list