diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2008-10-29 23:04:34 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2008-10-29 23:04:34 +0000 |
commit | 76f68e9bb86f29e34e2aeb5c177571288f05b7ca (patch) | |
tree | 5d94b541dac7cf118c0a7f00f82e41b8883db427 /universal.c | |
parent | 502c6561fcd473b7da3277363169d75f16ac2f8b (diff) | |
download | perl-76f68e9bb86f29e34e2aeb5c177571288f05b7ca.tar.gz |
Use pvs macros instead of pvn where possible.
p4raw-id: //depot/perl@34653
Diffstat (limited to 'universal.c')
-rw-r--r-- | universal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c index 3745ff93b8..bf82ae519f 100644 --- a/universal.c +++ b/universal.c @@ -504,7 +504,7 @@ XS(XS_version_new) if ( items == 1 || vs == &PL_sv_undef ) { /* no param or explicit undef */ /* create empty object */ vs = sv_newmortal(); - sv_setpvn(vs,"",0); + sv_setpvs(vs,""); } else if ( items == 3 ) { vs = sv_newmortal(); |