diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-08-26 08:25:45 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-08-26 08:25:45 -0700 |
commit | a438ddfd375bdc676cbf6945958c7a4250fc24f4 (patch) | |
tree | 6c1ecab98d6322af1ee49d7ed529b0b3e7978b38 /pp.c | |
parent | f132ae694cadce5cea5b006969b9b9ad169ecf64 (diff) | |
download | perl-a438ddfd375bdc676cbf6945958c7a4250fc24f4.tar.gz |
Remove now-unnecessary len check from pp.c:S_rv2gv
This check, added by ed996e63f6, is no longer necessary as of commit
f132ae694c, since PL_sv_undef takes a different path.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -215,8 +215,7 @@ S_rv2gv(pTHX_ SV *sv, const bool vivify_sv, const bool strict, gv_fetchpvn_flags(nambeg, len, SvUTF8(sv), SVt_PVGV) ); if (!temp - /* !len to avoid an extra uninit warning */ - && (!len || !is_gv_magical_sv(sv,0) + && (!is_gv_magical_sv(sv,0) || !(sv = MUTABLE_SV(gv_fetchpvn_flags( nambeg, len, GV_ADD | SvUTF8(sv), SVt_PVGV))))) { |