diff options
author | Nick Clifton <nickc@redhat.com> | 2009-12-11 13:42:17 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-12-11 13:42:17 +0000 |
commit | 91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 (patch) | |
tree | 214507c313b77d619b52afcae2af0b02c9fa700b /bfd/vms-gsd.c | |
parent | 01fe1b4183324882e88e8c64748bffdc69ea3a9c (diff) | |
download | binutils-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.zip binutils-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.gz binutils-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.bz2 |
Add -Wshadow to the gcc command line options used when compiling the binutils.
Fix up all warnings generated by the addition of this switch.
Diffstat (limited to 'bfd/vms-gsd.c')
-rw-r--r-- | bfd/vms-gsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/vms-gsd.c b/bfd/vms-gsd.c index e641d0d..ba75bbf4 100644 --- a/bfd/vms-gsd.c +++ b/bfd/vms-gsd.c @@ -729,7 +729,8 @@ _bfd_vms_slurp_gsd (bfd * abfd, int objtype) if (symbol->flags & BSF_FUNCTION) { asymbol *en_sym; - char *name = bfd_alloc (abfd, strlen (symbol->name) + 5); + + name = bfd_alloc (abfd, strlen (symbol->name) + 5); en_sym = bfd_make_empty_symbol (abfd); if (en_sym == 0) |