summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale/collate_byname/1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/collate_byname/1.cc')
-rw-r--r--libstdc++-v3/testsuite/22_locale/collate_byname/1.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/collate_byname/1.cc b/libstdc++-v3/testsuite/22_locale/collate_byname/1.cc
index f650be796a0..be4524f9ca6 100644
--- a/libstdc++-v3/testsuite/22_locale/collate_byname/1.cc
+++ b/libstdc++-v3/testsuite/22_locale/collate_byname/1.cc
@@ -28,7 +28,7 @@ void test01()
using namespace std;
typedef std::collate<char>::string_type string_type;
- bool test = true;
+ bool test __attribute__((unused)) = true;
string str;
locale loc_c = locale::classic();
@@ -41,7 +41,6 @@ void test01()
VERIFY( loc_de != loc_byname );
// cache the collate facets
- const collate<char>& coll_byname = use_facet<collate<char> >(loc_byname);
const collate<char>& coll_de = use_facet<collate<char> >(loc_de);
// Check German "de_DE" locale.