diff options
Diffstat (limited to 'libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc')
-rw-r--r-- | libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc b/libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc index 6fbfe6d5144..3bc6bbbcf98 100644 --- a/libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc +++ b/libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc @@ -33,7 +33,7 @@ void test01() typedef iterator<output_iterator_tag, void, void, void, void> base_iterator; ostringstream osstream("this tag"); test_iterator r_it(osstream); - base_iterator* base = &r_it; + base_iterator* base __attribute__((unused)) = &r_it; // Check for required typedefs typedef test_iterator::value_type value_type; @@ -52,7 +52,7 @@ bool test02(void) { typedef std::ostreambuf_iterator<char> costreambuf_iter; typedef costreambuf_iter::streambuf_type cstreambuf_type; - bool test = true; + bool test __attribute__((unused)) = true; const char slit01[] = "playa hermosa, liberia, guanacaste"; const char slit02[] = "bodega bay, lost coast, california"; std::string str01(slit01); |