OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / in_avail / char / 1.cc
index d8ec0a3..6f6879b 100644 (file)
@@ -65,11 +65,9 @@ void test05()
   typedef std::filebuf::off_type       off_type;
   typedef size_t                       size_type;
 
-  bool                                         test = true;
+  bool test __attribute__((unused)) = true;
   std::filebuf                                 f_tmp;
-  std::streamsize                      strmsz_1, strmsz_2;
   std::streamoff                       strmof_1, strmof_2;
-  int                                  i = 0, j = 0, k = 0;
 
   // GET
   // int in_avail()
@@ -93,7 +91,7 @@ void test05()
   VERIFY( strmof_1  == 0 ); // empty file
 }
 
-main() 
+int main() 
 {
   test03();
   test05();