Add -Wshadow to the gcc command line options used when compiling the binutils.

Fix up all warnings generated by the addition of this switch.
This commit is contained in:
Nick Clifton 2009-12-11 13:42:17 +00:00
parent 01fe1b4183
commit 91d6fa6a03
228 changed files with 4810 additions and 4648 deletions

View file

@ -1168,14 +1168,14 @@ move_members (bfd *arch, char **files_to_move)
{
/* Move this file to the end of the list - first cut from
where it is. */
bfd *link;
bfd *link_bfd;
*current_ptr_ptr = current_ptr->archive_next;
/* Now glue to end */
after_bfd = get_pos_bfd (&arch->archive_next, pos_end, NULL);
link = *after_bfd;
link_bfd = *after_bfd;
*after_bfd = current_ptr;
current_ptr->archive_next = link;
current_ptr->archive_next = link_bfd;
if (verbose)
printf ("m - %s\n", *files_to_move);