OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_streambuf / overflow / char / 3599.cc
index 1b6cf0c..145e4eb 100644 (file)
@@ -43,14 +43,14 @@ public:
  
 protected:
   int_type 
-  overflow(int_type c = traits_type::eof()) 
+  overflow(int_type c __attribute__((unused)) = traits_type::eof()) 
   { return traits_type::not_eof(0); }
 };
 
 void
 test07()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   testbuf ob;
   std::ostream out(&ob);