Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64)

Joel Brobecker brobecker@adacore.com
Fri Jan 1 13:47:00 GMT 2010


The patch itself is fairly mechanical; I just renamed a couple of local
variables.  One of them (dirname) was renamed because it shadowed a function
with the same name.  The second one (subdirname) was renamed out of
consistency...

2010-01-01  Joel Brobecker  <brobecker@adacore.com>

        Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
        * dwarf2.c (concat_filename): Rename dirname with dir_name
        to void shadowing the dirname function.
        Rename subdirname with subdir_name to stay consistent with
        the new dir_name variable name.

OK to apply?

Thanks,
-- 
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-Wshadow-warnings-in-dwarf2.c-seen-on-alpha-tru64.patch
Type: text/x-diff
Size: 2175 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100101/8aea5533/attachment.bin>


More information about the Binutils mailing list