]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/codecvt/length/char/2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / codecvt / length / char / 2.cc
index 6e0a7e96f2ea0516468fe1522106b7845b96a621..5e5023af8509d1d73cdc6b96fed1d110c2986e3d 100644 (file)
@@ -49,7 +49,7 @@ void test02()
   typedef codecvt_base::result                 result;
   typedef codecvt<char, char, mbstate_t>       c_codecvt;
 
-  bool                         test = true;
+  bool test __attribute__((unused)) = true;
   const char*          c_lit = "black pearl jasmine tea";
   int                  size = 25;