aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_ostream/sentry
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2003-09-23 20:03:30 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2003-09-23 20:03:30 +0000
commit11f10e6b1f34001a5abd7b0046c28610b058b1ff (patch)
tree743380001d2341c199e3740ca7296f1783cef17c /libstdc++-v3/testsuite/27_io/basic_ostream/sentry
parent1593ad2eddcadbfcefe8ff4abecffb724d71aedb (diff)
downloadgcc-11f10e6b1f34001a5abd7b0046c28610b058b1ff.zip
gcc-11f10e6b1f34001a5abd7b0046c28610b058b1ff.tar.gz
gcc-11f10e6b1f34001a5abd7b0046c28610b058b1ff.tar.bz2
locale_facets.tcc: Tweak to avoid warnings.
2003-09-23 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.tcc: Tweak to avoid warnings. * testsuite/testsuite_hooks.h: Same. * testsuite/*/*.cc: Same. From-SVN: r71693
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_ostream/sentry')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/1.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/2.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc2
4 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/1.cc
index cba75f2..40cfdb7 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/1.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/1.cc
@@ -37,7 +37,7 @@
void
test01()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
std::stringbuf strbuf01;
std::ostream strm1(&strbuf01);
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/2.cc
index 4e7562c..72ba932 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/2.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/2.cc
@@ -50,7 +50,7 @@ struct buf: std::streambuf
void
test02()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
buf b(0);
std::ostream strm(&b);
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc
index 2c8f6c6..e3af42e3 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc
@@ -125,7 +125,7 @@ namespace std
void test03()
{
using namespace std;
- bool test = true;
+ bool test __attribute__((unused)) = true;
// output streams
basic_ofstream<unsigned char> ofs_uc;
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc
index 141548a..fe1a947 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc
@@ -125,7 +125,7 @@ namespace std
void test03()
{
using namespace std;
- bool test = true;
+ bool test __attribute__((unused)) = true;
// output streams
basic_ostringstream<unsigned char> oss_uc;