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

@ -1130,10 +1130,8 @@ lm32_elf_relocate_section (bfd *output_bfd,
if (r != bfd_reloc_ok)
{
const char *name;
const char *msg = NULL;
arelent bfd_reloc;
reloc_howto_type *howto;
lm32_info_to_howto_rela (input_bfd, &bfd_reloc, rel);
howto = bfd_reloc.howto;