From 5413b5486ba77949122a8bfd6067d31626e330f3 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 11 Dec 2009 13:41:59 +0000 Subject: Add -Wshadow to the gcc command line options used when compiling the binutils. Fix up all warnings generated by the addition of this switch. --- binutils/ar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'binutils/ar.c') diff --git a/binutils/ar.c b/binutils/ar.c index 5bffd50a66..15a7b477bf 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -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); -- cgit v1.2.1