summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-08 18:45:04 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-08 18:45:04 -0800
commit0d18dd72a9521e93a8591473088752ce279dcb0d (patch)
tree50ad4bb48216165739f1bade040b16bea1fe6cb2
parent2980c1ab20ae6959a7f9a7410b63e22131e2cfbc (diff)
downloadperl-0d18dd72a9521e93a8591473088752ce279dcb0d.tar.gz
op.c:scalarvoid: Remove redundant scalar(o)
-rw-r--r--op.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/op.c b/op.c
index 869d08c19a..6f05353f97 100644
--- a/op.c
+++ b/op.c
@@ -1643,7 +1643,8 @@ Perl_scalarvoid(pTHX_ OP *arg)
if ((o->op_private & OPpTARGET_MY)
&& (PL_opargs[o->op_type] & OA_TARGLEX))/* OPp share the meaning */
{
- scalar(o); /* As if inside SASSIGN */
+ /* newASSIGNOP has already applied scalar context, which we
+ leave, as if this op is inside SASSIGN. */
continue;
}