]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_stringstream / rdbuf / char / 2832.cc
index 5e4fe022e753545f0bcb6a704d09d2ec59f7f0cf..9a0b6685560af66a60cc32dea579e87d4bfba682 100644 (file)
@@ -34,9 +34,8 @@ active_buffer(std::ios& stream)
 // libstdc++/2832
 void test02()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   const char* strlit01 = "fuck war";
-  const char* strlit02 = "two less cars abstract riot crew, critical mass/SF";
   const std::string str00;
   const std::string str01(strlit01);
   std::string str02;