diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc index ab35ddba34f..6a8f5d72c0d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc @@ -35,7 +35,7 @@ void write_rewind(std::iostream& stream) { for (int j = 0; j < times; j++) { - bool test = true; + bool test __attribute__((unused)) = true; std::streampos begin = stream.tellg(); for (int i = 0; i < times; ++i) @@ -49,7 +49,7 @@ void write_rewind(std::iostream& stream) void check_contents(std::iostream& stream) { - bool test = true; + bool test __attribute__((unused)) = true; stream.clear(); stream.seekg(0, std::ios::beg); |