diff options
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc')
-rw-r--r-- | libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc b/libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc index c6f5fe81a1b..80aec6ef0af 100644 --- a/libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc +++ b/libstdc++-v3/testsuite/25_algorithms/sort_heap/check_compare_by_value.cc @@ -33,8 +33,6 @@ typedef test_container<V, random_access_iterator_wrapper> Container; void test01() { - bool test __attribute__((unused)) = true; - V s1[] = { 10, 20, 1, 11, 2, 12, 3, 13, 4, 14, 5, 15, 6, 16, 7, 17, 8, 18, 9, 19 }; const int N = sizeof(s1) / sizeof(V); @@ -49,8 +47,6 @@ test01() void test02() { - bool test __attribute__((unused)) = true; - V s1[] = { 10, 20, 1, 11, 2, 12, 3, 13, 4, 14, 5, 15, 6, 16, 7, 17, 8, 18, 9, 19 }; const int N = sizeof(s1) / sizeof(V); @@ -65,8 +61,6 @@ test02() void test03() { - bool test __attribute__((unused)) = true; - V vvs[] = { 2, 0 }; std::make_heap(vvs, vvs + 2); std::sort_heap(vvs, vvs + 2); |