From: Jerry DeLisle Date: Sat, 20 May 2006 03:29:58 +0000 (+0000) Subject: re PR libfortran/22423 (Warnings when building libgfortran) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bf6519618696ba28021cedb319a1f784991f962;p=gcc.git 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 --- 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 + + PR libgfortran/22423 + * io/transfer.c (read_block): Return NULL instead of nothing. + 2006-05-16 Jerry DeLisle 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;