diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2003-09-23 20:03:30 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2003-09-23 20:03:30 +0000 |
commit | 11f10e6b1f34001a5abd7b0046c28610b058b1ff (patch) | |
tree | 743380001d2341c199e3740ca7296f1783cef17c /libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc | |
parent | 1593ad2eddcadbfcefe8ff4abecffb724d71aedb (diff) | |
download | gcc-11f10e6b1f34001a5abd7b0046c28610b058b1ff.tar.gz |
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_filebuf/sgetc/char/1-in.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc index 2a1012d812e..9b7a942b206 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc @@ -37,7 +37,7 @@ void test05() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test = true; + bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sgetc() @@ -64,7 +64,7 @@ void test05() } } -main() +int main() { test05(); return 0; |