12352.cc: Use __attribute__((unused)) for test.
authorPaolo Carlini <pcarlini@unitus.it>
Mon, 29 Sep 2003 08:25:17 +0000 (10:25 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 29 Sep 2003 08:25:17 +0000 (08:25 +0000)
2003-09-29  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/locale/cons/12352.cc:
Use __attribute__((unused)) for test.

From-SVN: r71896

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc

index c49d9d782d349ada0bbebb946084e16c76e8be6d..d421c40a3b3b310d9ea5f9a4b09196d4e7c7e728 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-29  Paolo Carlini  <pcarlini@unitus.it>
+
+       * testsuite/22_locale/locale/cons/12352.cc:
+       Use __attribute__((unused)) for test.
+
 2003-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either 
index 426395951542234940528e7b4ef2b61ff5f9d379..71b041398bc281cf71fdd2f737d8dcf8165fac3c 100644 (file)
@@ -92,7 +92,7 @@ void operator delete[](void* p, const std::nothrow_t&) throw()
 void test01(int iters)
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   for (int j = 0; j < iters; ++j)
     {