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:
4e2f6ca
)
Remove redundant conditional added by e530fb81d
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 11 Nov 2010 13:12:35 +0000
(
05:12
-0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 11 Nov 2010 13:22:49 +0000
(
05:22
-0800)
The else is never reached if the assignment in the protasis succeeds.
pp.c
patch
|
blob
|
blame
|
history
diff --git
a/pp.c
b/pp.c
index
4ae130b
..
9e762d5
100644
(file)
--- a/
pp.c
+++ b/
pp.c
@@
-901,7
+901,7
@@
PP(pp_undef)
mro_isa_changed_in(stash);
else if(method_changed)
mro_method_changed_in(
-
stash ? stash :
GvSTASH((const GV *)sv)
+ GvSTASH((const GV *)sv)
);
break;