diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-11-05 05:48:44 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-11-05 06:15:15 -0800 |
commit | dc3e91f6d6ea441e8f6ea23d87efab6e7169142a (patch) | |
tree | d13764df64a7370fcd3335d7275551639f0abb60 /gv.c | |
parent | 5882ddb381a033c6699801b9b1046860bf7bfa9c (diff) | |
download | perl-dc3e91f6d6ea441e8f6ea23d87efab6e7169142a.tar.gz |
gv.c: Removed redundant len==1 check
When I added this in ea238638, I put the same code in the branches
for the main stash and other stashes. In the main stash branch, this
occurs in a switch that is solely for one-character names, so checking
the length again is superfluous.
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2023,7 +2023,7 @@ S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, break; case 'a': case 'b': - if (len == 1 && sv_type == SVt_PV) + if (sv_type == SVt_PV) GvMULTI_on(gv); } } |