summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc
index 2c8993afd7e..b3e0624a5de 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc
@@ -35,7 +35,7 @@
void test01()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
std::string str_01("jade cove, big sur");
std::string str_05;
std::stringbuf strb_01;
@@ -43,7 +43,7 @@ void test01()
std::stringbuf strb_03(str_01, std::ios_base::out);
const std::ios_base::fmtflags flag01 = std::ios_base::skipws |
std::ios_base::dec;
- std::ios_base::fmtflags flag02, flag03;
+ std::ios_base::fmtflags flag02;
const std::locale glocale = std::locale();
// explicit basic_ios(streambuf* sb)