summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-01-30 16:40:55 +0000
committerDavid Mitchell <davem@iabyn.com>2013-01-30 16:40:55 +0000
commit3543180891f3f92865013baa141cb867c503a862 (patch)
tree023e3bf4b14e13a22e8e6221905fc2f0d6268da8 /op.c
parent106d2451aadbd20e554aed6fb9fa741f230dce4b (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index edc2362d90..c9a1b534c3 100644
--- a/op.c
+++ b/op.c
@@ -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);
}