diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc b/libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc index 389d3721a1b..c9cae5053f3 100644 --- a/libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc +++ b/libstdc++-v3/testsuite/22_locale/messages/members/char/2.cc @@ -29,7 +29,7 @@ void test02() typedef std::messages<char>::catalog catalog; typedef std::messages<char>::string_type string_type; - bool test = true; + bool test __attribute__((unused)) = true; // This is defined through CXXFLAGS in scripts/testsuite_flags[.in]. const char* dir = LOCALEDIR; @@ -44,10 +44,7 @@ void test02() VERIFY( loc_de != loc_fr ); // cache the messages facets - const messages<char>& mssg_c = use_facet<messages<char> >(loc_c); - const messages<char>& mssg_us = use_facet<messages<char> >(loc_us); const messages<char>& mssg_fr = use_facet<messages<char> >(loc_fr); - const messages<char>& mssg_de = use_facet<messages<char> >(loc_de); // catalog open(const string&, const locale&) const; // string_type get(catalog, int, int, const string_type& ) const; |