diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-11-21 16:27:56 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-22 06:22:53 -0800 |
commit | 09f38561c0e16ef4eadf11200be60cd6a4518285 (patch) | |
tree | ac21297b2cf83eac755f651381b5152c901a7c8e /mro.c | |
parent | d7879cf0b3199eb891fd6cdb551e1f6468d6f23d (diff) | |
download | perl-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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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. */ |