diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2006-05-20 03:29:58 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2006-05-20 03:29:58 +0000 |
commit | 8bf6519618696ba28021cedb319a1f784991f962 (patch) | |
tree | 85d7afaec87448abee320018668ad374aa60fd4b /libgfortran/io | |
parent | a635db3debd75b2fe1bd839d6470bc6a313c3494 (diff) | |
download | gcc-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.c | 2 |
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; |