diff options
author | David Mitchell <davem@iabyn.com> | 2013-01-30 16:40:55 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-01-30 16:40:55 +0000 |
commit | 3543180891f3f92865013baa141cb867c503a862 (patch) | |
tree | 023e3bf4b14e13a22e8e6221905fc2f0d6268da8 /op.c | |
parent | 106d2451aadbd20e554aed6fb9fa741f230dce4b (diff) | |
download | perl-3543180891f3f92865013baa141cb867c503a862.tar.gz |
pmruntime(): change '=' to '==' in an assertion
Whoops!
Probably harmless, since if the thing it was intended to assert for
was indeed true, then the assignment would be a noop anyway.
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4563,7 +4563,7 @@ Perl_pmruntime(pTHX_ OP *o, OP *expr, bool isreg, I32 floor) o->op_next = leaveop->op_first->op_sibling; /* skip leave */ assert(leaveop->op_flags & OPf_KIDS); - assert(leaveop->op_last->op_next = (OP*)leaveop); + assert(leaveop->op_last->op_next == (OP*)leaveop); leaveop->op_next = NULL; /* stop on last op */ op_null((OP*)leaveop); } |