diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc index 9ac07c5f044..76428bff180 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/encoding/char/1.cc @@ -31,16 +31,12 @@ void test01() typedef codecvt_base::result result; typedef codecvt<char, char, mbstate_t> c_codecvt; - bool test = true; - const char* c_lit = "black pearl jasmine tea"; - const char* from_next; + bool test __attribute__((unused)) = true; int size = 25; char* c_arr = new char[size]; char* c_ref = new char[size]; - char* to_next; locale loc = locale::classic(); - c_codecvt::state_type state; const c_codecvt* cvt = &use_facet<c_codecvt>(loc); // According to the resolution of DR19 (see also libstd++/9168), in |