This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e80230
)
op.c: Remove redundant assignment
author
Father Chrysostomos
<sprout@cpan.org>
Sun, 13 May 2012 06:10:58 +0000
(23:10 -0700)
committer
Father 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
patch
|
blob
|
blame
|
history
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: