]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/10132-3.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / seekpos / 10132-3.cc
index 0228a4d8946ab169d13b8279d83b657a391091e2..22ae77fb7be1bcddd9f683bce39adb4a9f4e3739 100644 (file)
@@ -1,6 +1,6 @@
 // 2003-04-24 bkoz
 
-// Copyright (C) 2003-2015 Free Software Foundation, Inc.
+// Copyright (C) 2003-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,7 +27,6 @@
 // libstdc++/10132, add on
 void test07()
 {
-  bool test __attribute__((unused)) = true;
   typedef std::basic_filebuf<__gnu_test::pod_ushort> gnu_filebuf;
   
   try
@@ -38,8 +37,7 @@ void test07()
     }
   catch(std::exception& obj)
     { 
-      test = false; 
-      VERIFY( test );
+      VERIFY( false );
     }
 }