aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2016-09-10 10:37:35 +0000
committerMark Wielaard <mark@gcc.gnu.org>2016-09-10 10:37:35 +0000
commit99e77371ca0fd38460f76a6c5880be67d2503292 (patch)
tree0309089e144cd3b5bf76f5b14e134f0eb129ec0e /contrib
parent7861fc4f1c40e8fabd31cd8627b0a173257eeb3c (diff)
downloadgcc-99e77371ca0fd38460f76a6c5880be67d2503292.zip
gcc-99e77371ca0fd38460f76a6c5880be67d2503292.tar.gz
gcc-99e77371ca0fd38460f76a6c5880be67d2503292.tar.bz2
Fix -Wshadow warning in libiberty/cp-demangle.c
valgrind contains a copy of the libiberty demangler which gets compiled with -Wshadow. That shows the following warning: cp-demangle.c: In function ‘d_substitution’: cp-demangle.c:3772:35: warning: declaration of ‘c’ shadows a previous local struct demangle_component *c; ^ cp-demangle.c:3708:8: note: shadowed declaration is here char c; ^ Fix that by renaming the struct demangle_component variable to dc. libiberty/ChangeLog: * cp-demangle.c (d_substitution): Change struct demangle_component variable name from c to dc. From-SVN: r240068
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions