summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-21 16:27:56 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-22 06:22:53 -0800
commit09f38561c0e16ef4eadf11200be60cd6a4518285 (patch)
treeac21297b2cf83eac755f651381b5152c901a7c8e /mro.c
parentd7879cf0b3199eb891fd6cdb551e1f6468d6f23d (diff)
downloadperl-09f38561c0e16ef4eadf11200be60cd6a4518285.tar.gz
Remove redundant check
There is a similar check about fifty lines back. And it is silly to check HvARRAY on a named hash.
Diffstat (limited to 'mro.c')
-rw-r--r--mro.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mro.c b/mro.c
index 250ee5c5c0..08320b7748 100644
--- a/mro.c
+++ b/mro.c
@@ -1040,10 +1040,6 @@ S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes,
}
}
- if(
- (!stash || !HvARRAY(stash)) && (!oldstash || !HvARRAY(oldstash))
- ) return;
-
/* This is partly based on code in hv_iternext_flags. We are not call-
ing that here, as we want to avoid resetting the hash iterator. */