diff options
author | Tony Cook <tony@develop-help.com> | 2015-11-24 14:37:35 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2015-11-24 14:37:35 +1100 |
commit | e8c18a8486f7e900511cc2df8d2617ceab9ce437 (patch) | |
tree | 6f473845d310340b46dfafaca8ccb5a224ce78dd /pp_sys.c | |
parent | 2efdfb1e6cf6ff62b97356abd74ba479aee48bc1 (diff) | |
download | perl-e8c18a8486f7e900511cc2df8d2617ceab9ce437.tar.gz |
[perl #126480] pipe() doesn't need the assertions
GvIOn() already performs the checks and produces a nice error message,
and similar functions, such as open() and socket(), don't have
assertions on this condition.
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -695,8 +695,6 @@ PP(pp_pipe_op) GV * const wgv = MUTABLE_GV(POPs); GV * const rgv = MUTABLE_GV(POPs); - assert (isGV_with_GP(rgv)); - assert (isGV_with_GP(wgv)); rstio = GvIOn(rgv); if (IoIFP(rstio)) do_close(rgv, FALSE); |