summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-01-13 22:54:10 +0000
committerNicholas Clark <nick@ccl4.org>2005-01-13 22:54:10 +0000
commitf2b990bf33ddc9a2c27b053bb94a963bce0c09ce (patch)
tree639f2969570516ca882598101886056503f93def /pp_sort.c
parentc75bde89ee55ab4c3ff1da2c3438b11554305529 (diff)
downloadperl-f2b990bf33ddc9a2c27b053bb94a963bce0c09ce.tar.gz
replace NEWSV(), SvSetSV() with newSVsv()
p4raw-id: //depot/perl@23795
Diffstat (limited to 'pp_sort.c')
-rw-r--r--pp_sort.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pp_sort.c b/pp_sort.c
index da019d0a07..877f17162b 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1692,8 +1692,7 @@ PP(pp_sort)
SV *sv;
SV** base, **didstore;
for (base = ORIGMARK+1, i=0; i < max; i++) {
- sv = NEWSV(28,0);
- sv_setsv(sv, base[i]);
+ sv = newSVsv(base[i]);
base[i] = sv;
}
av_clear(av);