]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-sstream.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_ostream / seekp / wchar_t / 2346-sstream.cc
index 3845d277f50eeced052caab08d22a1828b09ee05..db8ce456afdb50a2f1480924c08a1a354784f15b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2005-2015 Free Software Foundation, Inc.
+// Copyright (C) 2005-2020 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -27,8 +27,6 @@ const int times = 10;
 
 void write_rewind(std::wiostream& stream)
 {
-  bool test __attribute__((unused)) = true;
-
   for (int j = 0; j < times; j++) 
     {
       std::streampos begin = stream.tellp();
@@ -43,8 +41,6 @@ void write_rewind(std::wiostream& stream)
 
 void check_contents(std::wiostream& stream)
 {
-  bool test __attribute__((unused)) = true;
-
   stream.clear();
   stream.seekg(0, std::wios::beg);
   int i = 0;