re PR libfortran/22423 (Warnings when building libgfortran)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 20 May 2006 03:29:58 +0000 (03:29 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 20 May 2006 03:29:58 +0000 (03:29 +0000)
2006-05-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/22423
* io/transfer.c (read_block): Return NULL instead of nothing.

From-SVN: r113923

libgfortran/ChangeLog
libgfortran/io/transfer.c

index 5b53e2b..774a2b8 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/22423
+       * io/transfer.c (read_block): Return NULL instead of nothing.
+       
 2006-05-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR libgfortran/27575
index 054217d..15d403c 100644 (file)
@@ -276,7 +276,7 @@ read_block (st_parameter_dt *dtp, int *length)
        {
          dtp->u.p.current_unit->endfile = AT_ENDFILE;
          generate_error (&dtp->common, ERROR_END, NULL);
-         return;
+         return NULL;
        }
 
       *length = dtp->u.p.current_unit->bytes_left;