From 8bf6519618696ba28021cedb319a1f784991f962 Mon Sep 17 00:00:00 2001 From: Jerry DeLisle Date: Sat, 20 May 2006 03:29:58 +0000 Subject: re PR libfortran/22423 (Warnings when building libgfortran) 2006-05-19 Jerry DeLisle PR libgfortran/22423 * io/transfer.c (read_block): Return NULL instead of nothing. From-SVN: r113923 --- libgfortran/io/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgfortran/io') 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; -- cgit v1.1