data-reader: Remove unreachable "return" statements.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 15 Mar 2011 01:19:23 +0000 (18:19 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 20 Mar 2011 16:41:55 +0000 (09:41 -0700)
src/language/data-io/data-reader.c

index 2cec413b759e24fdf9aa8554b4e02f0f323168de..7c9e4e6733027f52c3353b1d1839f416028dff26 100644 (file)
@@ -352,7 +352,6 @@ read_file_record (struct dfm_reader *r)
             read_error (r);
           return false;
         }
-      return true;
 
     case FH_MODE_FIXED:
       if (ds_read_stream (&r->line, 1, fh_get_record_width (r->fh), r->file))
@@ -365,7 +364,6 @@ read_file_record (struct dfm_reader *r)
             partial_record (r);
           return false;
         }
-      return true;
 
     case FH_MODE_VARIABLE:
       {