diff options
author | Steffen Mueller <smueller@cpan.org> | 2014-02-27 08:22:17 +0100 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2014-02-27 09:07:04 +0100 |
commit | 72b09e4f13cced68883e83d20365f3a68de1740c (patch) | |
tree | 79716b726a03a957e2d45dbb902d5a4a649dc55e /op.c | |
parent | 0e7b7035500dfac5a04098aabc2be70be928dcd2 (diff) | |
download | perl-72b09e4f13cced68883e83d20365f3a68de1740c.tar.gz |
Remove spurious assert
kid is always dereferenced before the assert.
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -11164,10 +11164,8 @@ S_null_listop_in_list_context(pTHX_ OP *o) kid = cLISTOPo->op_first; /* Find the end of the chain of OPs executed within the OP_LIST. */ - while (kid->op_next != o) { - assert(kid); + while (kid->op_next != o) kid = kid->op_next; - } kid->op_next = o->op_next; /* patch list out of exec chain */ op_null(cUNOPo->op_first); /* NULL the pushmark */ |