mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 02:34:44 +08:00
* io/unit.c (get_unit): Remove superfluous if.
From-SVN: r86838
This commit is contained in:
parent
11bb4b2798
commit
8a210b0fb0
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -264,10 +264,8 @@ get_unit (int read_flag)
|
||||
/* Has to be an external unit */
|
||||
|
||||
u = find_unit (ioparm.unit);
|
||||
if (u != NULL)
|
||||
return u;
|
||||
|
||||
return NULL;
|
||||
return u;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user