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

Joel Brobecker
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

2010-01-01  Joel Brobecker  <>

        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?

-------------- 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: <>

More information about the Binutils mailing list