]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_istream / extractors_arithmetic / char / 08.cc
index 2a2c3cc1ff7a0c866373b3ca33671d267f3aee08..276fd913dfc6c10ca67ece126a138274de48fe57 100644 (file)
@@ -56,9 +56,8 @@ namespace std {
 void test08()
 {
   // manufactured locale, grouping is turned on
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   unsigned int h4 = 0, h3 = 0, h2 = 0;
-  float f1 = 0.0;
   const std::string s1("1,22 205,19 22,123,22");
   const std::string s2("1,220 2050,19 202,123,22");