This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180488f
)
Remove un-needed case in Perl_sv_setsv_flags (sv_upgrade will cover
author
Nicholas Clark
<nick@ccl4.org>
Thu, 23 Feb 2006 13:07:54 +0000
(13:07 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Thu, 23 Feb 2006 13:07:54 +0000
(13:07 +0000)
this one for us).
p4raw-id: //depot/perl@27279
sv.c
patch
|
blob
|
blame
|
history
diff --git
a/sv.c
b/sv.c
index
b4e69f2
..
ffe3772
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-3352,8
+3352,6
@@
Perl_sv_setsv_flags(pTHX_ SV *dstr, register SV *sstr, I32 flags)
sv_upgrade(dstr, SVt_IV);
break;
case SVt_NV:
- sv_upgrade(dstr, SVt_PVNV);
- break;
case SVt_RV:
case SVt_PV:
sv_upgrade(dstr, SVt_PVIV);