diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2012-05-21 23:40:55 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-05-21 23:40:55 +0000 |
commit | d847ec803dc79f9e98321d36a956e379708bcbfa (patch) | |
tree | 5298fa886dca3337e1527526a7376d7b2c24e5a6 /libstdc++-v3/testsuite/22_locale | |
parent | c5e0766b42ec592e5cb0de03af01eb237f25a1ab (diff) | |
download | gcc-d847ec803dc79f9e98321d36a956e379708bcbfa.zip gcc-d847ec803dc79f9e98321d36a956e379708bcbfa.tar.gz gcc-d847ec803dc79f9e98321d36a956e379708bcbfa.tar.bz2 |
9780-2.cc: Avoid -Wall warnings.
2012-05-21 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/22_locale/num_put/put/char/9780-2.cc: Avoid -Wall warnings.
* testsuite/29_atomics/atomic/cons/49445.cc: Likewise.
* testsuite/29_atomics/atomic/operators/pointer_partial_void.cc:
* Likewise.
* testsuite/23_containers/unordered_map/observers.cc: Likewise.
* testsuite/23_containers/unordered_map/erase/1.cc: Likewise.
* testsuite/23_containers/unordered_multimap/erase/1.cc: Likewise.
* testsuite/23_containers/unordered_multimap/erase/2.cc: Likewise.
* testsuite/23_containers/unordered_multimap/insert/53115.cc: Likewise.
* testsuite/23_containers/unordered_multimap/observers.cc: Likewise.
* testsuite/23_containers/vector/debug/alloc_prop.cc: Likewise.
* testsuite/23_containers/unordered_set/observers.cc: Likewise.
* testsuite/23_containers/unordered_set/erase/1.cc: Likewise.
* testsuite/23_containers/unordered_multiset/erase/1.cc: Likewise.
* testsuite/23_containers/unordered_multiset/erase/2.cc: Likewise.
* testsuite/23_containers/unordered_multiset/insert/53115.cc: Likewise.
* testsuite/23_containers/unordered_multiset/insert/multiset_range.cc:
* Likewise.
* testsuite/23_containers/unordered_multiset/observers.cc: Likewise.
From-SVN: r187751
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/num_put/put/char/9780-2.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/num_put/put/char/9780-2.cc b/libstdc++-v3/testsuite/22_locale/num_put/put/char/9780-2.cc index 5cf0d04..817a3a8 100644 --- a/libstdc++-v3/testsuite/22_locale/num_put/put/char/9780-2.cc +++ b/libstdc++-v3/testsuite/22_locale/num_put/put/char/9780-2.cc @@ -1,7 +1,7 @@ // { dg-require-namedlocale "de_DE" } // { dg-require-namedlocale "es_ES" } -// Copyright (C) 2004, 2005, 2009, 2011 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005, 2009, 2011, 2012 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,7 +34,7 @@ void test01() locale l2 = locale("C"); const numpunct<char>& npunct2 = use_facet<numpunct<char> >(l2); - char c = npunct2.thousands_sep(); + char c __attribute__((unused)) = npunct2.thousands_sep(); string s = npunct2.grouping(); ostringstream oss; @@ -53,7 +53,7 @@ void test02() locale l2 = locale("es_ES"); const numpunct<char>& npunct3 = use_facet<numpunct<char> >(l2); - char c = npunct3.thousands_sep(); + char c __attribute__((unused)) = npunct3.thousands_sep(); string s = npunct3.grouping(); ostringstream oss; @@ -72,7 +72,7 @@ void test02() int main() { // Sanity check. - char c = npunct.thousands_sep(); + char c __attribute__((unused)) = npunct.thousands_sep(); string s = npunct.grouping(); test01(); |