OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / seekoff / char / 2-io.cc
index fd30a33..9fc418f 100644 (file)
@@ -38,9 +38,8 @@ void test05()
   typedef filebuf::pos_type    pos_type;
   typedef filebuf::off_type    off_type;
 
-  bool                                 test = true;
+  bool test __attribute__((unused)) = true;
   streamsize                   strmsz_1, strmsz_2;
-  streamoff                    strmof_1, strmof_2;
 
   int_type c1;
   int_type c2;
@@ -115,7 +114,7 @@ void test05()
   }
 }
 
-main() 
+int main() 
 {
   test05();
   return 0;