aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-02-12 10:36:18 +0000
committerJonathan Wakely <jwakely@redhat.com>2021-02-12 14:30:14 +0000
commit87eaa3c525eb65775e6d77403b83a273a2397099 (patch)
tree6bd2d61ef819273be985c147891f605626245040 /gcc
parentc4ece1d96a105f51d7999b7afe9340d582731f5d (diff)
downloadgcc-87eaa3c525eb65775e6d77403b83a273a2397099.zip
gcc-87eaa3c525eb65775e6d77403b83a273a2397099.tar.gz
gcc-87eaa3c525eb65775e6d77403b83a273a2397099.tar.bz2
libstdc++: Add unused attributes to shared_ptr functions
This avoids some warnings when building with -fno-rtti because the function parameters are only used when RTTI is enabled. libstdc++-v3/ChangeLog: * include/bits/shared_ptr_base.h (__shared_ptr::_M_get_deleter): Add unused attribute to parameter. * src/c++11/shared_ptr.cc (_Sp_make_shared_tag::_S_eq): Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions