From 6cd6aed7900dd521cb45a208a4ca48bacedf23e4 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Mon, 29 Sep 2003 10:25:17 +0200 Subject: [PATCH] 12352.cc: Use __attribute__((unused)) for test. 2003-09-29 Paolo Carlini * testsuite/22_locale/locale/cons/12352.cc: Use __attribute__((unused)) for test. From-SVN: r71896 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c49d9d782d3..d421c40a3b3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2003-09-29 Paolo Carlini + + * testsuite/22_locale/locale/cons/12352.cc: + Use __attribute__((unused)) for test. + 2003-09-26 Ulrich Weigand * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc index 42639595154..71b041398bc 100644 --- a/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc +++ b/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc @@ -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) { -- 2.30.2