OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 22_locale / money_get / get / wchar_t / 5.cc
index fd0c53e..89b724c 100644 (file)
 void test05()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   // Check money_get works with other iterators besides streambuf
   // input iterators.
   typedef wstring::const_iterator iter_type;
   typedef money_get<wchar_t, iter_type> mon_get_type;
   const ios_base::iostate goodbit = ios_base::goodbit;
-  const ios_base::iostate eofbit = ios_base::eofbit;
   ios_base::iostate err = goodbit;
   const locale loc_c = locale::classic();
   const wstring str = L"0.01Eleanor Roosevelt";