Commit 8bf65196 by Jerry DeLisle

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
parent a635db3d
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> 2006-05-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/27575 PR libgfortran/27575
......
...@@ -276,7 +276,7 @@ read_block (st_parameter_dt *dtp, int *length) ...@@ -276,7 +276,7 @@ read_block (st_parameter_dt *dtp, int *length)
{ {
dtp->u.p.current_unit->endfile = AT_ENDFILE; dtp->u.p.current_unit->endfile = AT_ENDFILE;
generate_error (&dtp->common, ERROR_END, NULL); generate_error (&dtp->common, ERROR_END, NULL);
return; return NULL;
} }
*length = dtp->u.p.current_unit->bytes_left; *length = dtp->u.p.current_unit->bytes_left;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment