aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2006-05-20 03:29:58 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2006-05-20 03:29:58 +0000
commit8bf6519618696ba28021cedb319a1f784991f962 (patch)
tree85d7afaec87448abee320018668ad374aa60fd4b /libgfortran/io
parenta635db3debd75b2fe1bd839d6470bc6a313c3494 (diff)
downloadgcc-8bf6519618696ba28021cedb319a1f784991f962.zip
gcc-8bf6519618696ba28021cedb319a1f784991f962.tar.gz
gcc-8bf6519618696ba28021cedb319a1f784991f962.tar.bz2
re PR libfortran/22423 (Warnings when building libgfortran)
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
Diffstat (limited to 'libgfortran/io')
-rw-r--r--libgfortran/io/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c
index 054217d..15d403c 100644
--- a/libgfortran/io/transfer.c
+++ b/libgfortran/io/transfer.c
@@ -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;