op.c: Remove redundant assignment
authorFather Chrysostomos <sprout@cpan.org>
Sun, 13 May 2012 06:10:58 +0000 (23:10 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 22 May 2012 04:41:24 +0000 (21:41 -0700)
This was added unnecessarily in commit ddeae0f14c.  It is a local
variable assigned to just before the function returns, so the value
is never used in the OP_UNDEF case.

op.c

diff --git a/op.c b/op.c
index 339110d..f1d0261 100644 (file)
--- a/op.c
+++ b/op.c
@@ -1775,7 +1775,6 @@ Perl_op_lvalue_flags(pTHX_ OP *o, I32 type, U32 flags)
 
     switch (o->op_type) {
     case OP_UNDEF:
-       localize = 0;
        PL_modcount++;
        return o;
     case OP_STUB: