diff options
Diffstat (limited to 'libstdc++-v3/testsuite/experimental/list')
-rw-r--r-- | libstdc++-v3/testsuite/experimental/list/erasure.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/experimental/list/erasure.cc b/libstdc++-v3/testsuite/experimental/list/erasure.cc index ed9e95493c8..9e5a3fe854f 100644 --- a/libstdc++-v3/testsuite/experimental/list/erasure.cc +++ b/libstdc++-v3/testsuite/experimental/list/erasure.cc @@ -23,8 +23,6 @@ void test01() { - bool test [[gnu::unused]] = true; - auto is_odd = [](const int i) { return i % 2 != 0; }; std::list<int> l{ 10, 11, 12, 14, 15, 17, 18, 19 }; @@ -36,8 +34,6 @@ test01() void test02() { - bool test [[gnu::unused]] = true; - std::list<int> l{ 0, 11, 0, 0, 22, 33, 0, 0, 44, 0 }; std::experimental::erase(l, 0); std::list<int> t{ 11, 22, 33, 44 }; |