summaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-20 03:29:58 +0000
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-05-20 03:29:58 +0000
commit0c520ffbcf46916294cbdb02ec1b758853086351 (patch)
tree85d7afaec87448abee320018668ad374aa60fd4b /libgfortran/io
parent97f99a6c6806a4b2fa58a7af21889a0ce2fb42f7 (diff)
downloadgcc-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/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 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;