summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2015-11-24 14:37:35 +1100
committerTony Cook <tony@develop-help.com>2015-11-24 14:37:35 +1100
commite8c18a8486f7e900511cc2df8d2617ceab9ce437 (patch)
tree6f473845d310340b46dfafaca8ccb5a224ce78dd /pp_sys.c
parent2efdfb1e6cf6ff62b97356abd74ba479aee48bc1 (diff)
downloadperl-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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 373590f234..15b4d8bb75 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -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);