diff options
author | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-20 03:29:58 +0000 |
---|---|---|
committer | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-20 03:29:58 +0000 |
commit | 0c520ffbcf46916294cbdb02ec1b758853086351 (patch) | |
tree | 85d7afaec87448abee320018668ad374aa60fd4b /libgfortran | |
parent | 97f99a6c6806a4b2fa58a7af21889a0ce2fb42f7 (diff) | |
download | gcc-0c520ffbcf46916294cbdb02ec1b758853086351.tar.gz |
2006-05-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/22423
* io/transfer.c (read_block): Return NULL instead of nothing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113923 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/io/transfer.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 5b53e2b2541..774a2b8cbdc 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -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 diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c index 054217daa79..15d403c5714 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; |