pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 01/18] data-reader: Remove unreachable "return" statements.


From: Ben Pfaff
Subject: [PATCH 01/18] data-reader: Remove unreachable "return" statements.
Date: Sat, 19 Mar 2011 17:09:47 -0700

---
 src/language/data-io/data-reader.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/language/data-io/data-reader.c 
b/src/language/data-io/data-reader.c
index 2cec413..7c9e4e6 100644
--- a/src/language/data-io/data-reader.c
+++ b/src/language/data-io/data-reader.c
@@ -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:
       {
-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]