summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-16 16:31:37 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-16 17:48:26 -0800
commit81a2487c2088676b85785de5c132f808748b1a22 (patch)
tree1d7f7e36cb7b8f64a3a26b336f189beaaf999a22 /mro.c
parent0290c7107ccd726700dd863729fdba3207051905 (diff)
downloadperl-81a2487c2088676b85785de5c132f808748b1a22.tar.gz
Remove unnecessary check in mro_package_moved
This was supposed to have been removed by 80ebaca, when negative val- ues for the newname_len argument stopped being used.
Diffstat (limited to 'mro.c')
-rw-r--r--mro.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mro.c b/mro.c
index 9083d56f23..8276795d3b 100644
--- a/mro.c
+++ b/mro.c
@@ -737,7 +737,6 @@ Perl_mro_package_moved(pTHX_ HV * const stash, HV * const oldstash,
newname = SvPV_const(namesv, len);
newname_len = len - 2; /* skip trailing :: */
}
- if(newname_len < 0) newname_len = -newname_len;
/* Get a list of all the affected classes. */
/* We cannot simply pass them all to mro_isa_changed_in to avoid