diff options
author | Gisle Aas <gisle@aas.no> | 1998-07-07 19:48:36 +0200 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-08 02:28:30 +0000 |
commit | 827b7e14e1e607ab4ad9d3216e9bea55f7e0b975 (patch) | |
tree | 781251208600e2bd75ae7671142159e996556c80 /sv.c | |
parent | 7e86de3e163f833ae89c22b4ee3418ae793e26c5 (diff) | |
download | perl-827b7e14e1e607ab4ad9d3216e9bea55f7e0b975.tar.gz |
Remove some rendundant SvOOK_on tests
Message-ID: <m3vhp94q7f.fsf@furu.g.aas.no>
p4raw-id: //depot/perl@1366
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1209,14 +1209,8 @@ sv_setnv(register SV *sv, double num) case SVt_PV: case SVt_PVIV: sv_upgrade(sv, SVt_PVNV); - /* FALL THROUGH */ - case SVt_PVNV: - case SVt_PVMG: - case SVt_PVBM: - case SVt_PVLV: - if (SvOOK(sv)) - (void)SvOOK_off(sv); break; + case SVt_PVGV: if (SvFAKE(sv)) { sv_unglob(sv); |