[PATCH 5/348] Fix -Wshadow warnings
Joel Brobecker
brobecker@adacore.com
Thu Mar 29 16:53:00 GMT 2012
> 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
More information about the Gdb-patches
mailing list