From: Jonathan Wakely Date: Thu, 16 Apr 2020 07:44:10 +0000 (+0100) Subject: libstdc++: Fix -Wunused-parameter warning in test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8d88bf26e4c4c0eeddbf6a9dc184f28d4ef85e4;p=gcc.git libstdc++: Fix -Wunused-parameter warning in test * testsuite/20_util/unsynchronized_pool_resource/allocate.cc: Remove name of unused parameter. --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f9e4c2d87dd..cd3bbca35ba 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2020-04-16 Jonathan Wakely + + * testsuite/20_util/unsynchronized_pool_resource/allocate.cc: Remove + name of unused parameter. + 2020-04-15 Jonathan Wakely * include/bits/fs_dir.h (file_status): Define operator== for C++20. diff --git a/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc b/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc index b3bb955db7c..5bf20cf262c 100644 --- a/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc +++ b/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc @@ -197,7 +197,7 @@ test06() void do_deallocate(void* p, std::size_t bytes, std::size_t align) { std::pmr::new_delete_resource()->deallocate(p, bytes, align); } - bool do_is_equal(const memory_resource& r) const noexcept + bool do_is_equal(const memory_resource&) const noexcept { return false; } };