]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / setbuf / char / 1.cc
index 79c033bc8f79da8aa05ed8668b425307fa7adeb5..91d2c50bf315181ed982d44ce0c0c6fd5bf7acef 100644 (file)
@@ -1,6 +1,6 @@
 // 2001-05-21 Benjamin Kosnik  <bkoz@redhat.com>
 
-// Copyright (C) 2001-2015 Free Software Foundation, Inc.
+// Copyright (C) 2001-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
@@ -39,7 +39,7 @@ public:
   bool
   check_pointers()
   { 
-    bool test __attribute__((unused)) = true;
+    bool test = true;
     test = (!this->pbase());
     test &= (!this->pptr());
     return test;
@@ -58,8 +58,6 @@ void test05()
   typedef std::filebuf::off_type       off_type;
   typedef size_t                       size_type;
 
-  bool test __attribute__((unused)) = true;
-
   {
     testbuf                            f_tmp;