This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/348] Fix -Wshadow warnings
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Andrey Smirnov <andrew dot smirnov at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 29 Mar 2012 09:53:01 -0700
- Subject: Re: [PATCH 5/348] Fix -Wshadow warnings
- References: <87ty60lrnm.fsf@gmail.com>
> static void
> -assign_component (struct value *container, struct value *lhs, LONGEST index,
> +assign_component (struct value *container, struct value *lhs, LONGEST idx,
This is one of the warnings we said shouldn't be a warning, and I kind
of prefer index over idx, so I'm thinking of not applying this one.
But it's not a strong opinion, so I don't mind it if others think
otherwise.
--
Joel