From 91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 11 Dec 2009 13:42:17 +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. --- bfd/elf32-cr16.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bfd/elf32-cr16.c') diff --git a/bfd/elf32-cr16.c b/bfd/elf32-cr16.c index f82d1e902d..9a4e2a9bae 100644 --- a/bfd/elf32-cr16.c +++ b/bfd/elf32-cr16.c @@ -889,17 +889,12 @@ cr16_elf_final_link_relocate (reloc_howto_type *howto, unsigned short r_type = howto->type; bfd_byte *hit_data = contents + offset; bfd_vma reloc_bits, check, Rvalue1; - bfd * dynobj; bfd_vma * local_got_offsets; - asection * sgot; dynobj = elf_hash_table (info)->dynobj; local_got_offsets = elf_local_got_offsets (input_bfd); - sgot = NULL; - - switch (r_type) { case R_CR16_IMM4: -- cgit v1.2.1