public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/gccgo] libstdc++: Fix -Wunused-parameter warning in test
@ 2020-07-12 17:15 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2020-07-12 17:15 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
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; }
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-12 17:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 17:15 [gcc/devel/gccgo] libstdc++: Fix -Wunused-parameter warning in test Ian Lance Taylor
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).