public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Aldy Hernandez <aldyh@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc/devel/ranger] libstdc++: Fix -Wunused-parameter warning in test Date: Wed, 17 Jun 2020 20:27:32 +0000 (GMT) [thread overview] Message-ID: <20200617202732.269A3395CCA6@sourceware.org> (raw) https://gcc.gnu.org/g:c8d88bf26e4c4c0eeddbf6a9dc184f28d4ef85e4 commit c8d88bf26e4c4c0eeddbf6a9dc184f28d4ef85e4 Author: Jonathan Wakely <jwakely@redhat.com> Date: Thu Apr 16 08:44:10 2020 +0100 libstdc++: Fix -Wunused-parameter warning in test * testsuite/20_util/unsynchronized_pool_resource/allocate.cc: Remove name of unused parameter. Diff: --- libstdc++-v3/ChangeLog | 5 +++++ .../testsuite/20_util/unsynchronized_pool_resource/allocate.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 <jwakely@redhat.com> + + * testsuite/20_util/unsynchronized_pool_resource/allocate.cc: Remove + name of unused parameter. + 2020-04-15 Jonathan Wakely <jwakely@redhat.com> * 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; } };
reply other threads:[~2020-06-17 20:27 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200617202732.269A3395CCA6@sourceware.org \ --to=aldyh@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).