Commit 8a210b0f by Paul Brook Committed by Paul Brook

* io/unit.c (get_unit): Remove superfluous if.

From-SVN: r86838
parent 11bb4b27
2004-08-31 Paul Brook <paul@codesourcery.com> 2004-08-31 Paul Brook <paul@codesourcery.com>
* io/unit.c (get_unit): Remove superfluous if.
2004-08-31 Paul Brook <paul@codesourcery.com>
* io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF. * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.
(finalize_transfer): Move setjmp after namlist IO. (finalize_transfer): Move setjmp after namlist IO.
* io/unix.c (mem_alloc_r_at): Calculate remaining length correctly. * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
......
...@@ -264,10 +264,8 @@ get_unit (int read_flag) ...@@ -264,10 +264,8 @@ get_unit (int read_flag)
/* Has to be an external unit */ /* Has to be an external unit */
u = find_unit (ioparm.unit); u = find_unit (ioparm.unit);
if (u != NULL)
return u;
return NULL; return u;
} }
......
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