libstdc++: Fix -Wunused warning
authorJonathan Wakely <jwakely@redhat.com>
Thu, 17 Dec 2020 13:16:02 +0000 (13:16 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 17 Dec 2020 14:03:00 +0000 (14:03 +0000)
commit9f9dbc8e09cf48406aa24b6c78735f1a7912cc4e
tree48e7472d1f0e7e6d19e3bd69a277e44e5dda8f27
parent8dc63f13f03facc49b777195c9068432477b5dcd
libstdc++: Fix -Wunused warning

As noted in PR 66146 comment 35, there is a new warning in the new
std::call_once implementation.

libstdc++-v3/ChangeLog:

* src/c++11/mutex.cc (std::once_flag::_M_finish): Add
maybe_unused attribute to variable used in assertion.
libstdc++-v3/src/c++11/mutex.cc