diff options
author | Andy Lester <andy@petdance.com> | 2005-06-06 18:08:50 -0500 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-06-07 08:18:59 +0000 |
commit | 862a34c634844bb3ea22e5f44bdaf2e973831a89 (patch) | |
tree | 77292e7d3d639e71bc2aca9df160653ecea15005 /pp.c | |
parent | c158a4fd68e274329d9ffd7198cb9eb1b21b0dfe (diff) | |
download | perl-862a34c634844bb3ea22e5f44bdaf2e973831a89.tar.gz |
Unvoid SvUPGRADE
Message-ID: <20050607040850.GA7033@petdance.com>
p4raw-id: //depot/perl@24717
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3358,7 +3358,7 @@ PP(pp_chr) char *tmps; UV value = POPu; - (void)SvUPGRADE(TARG,SVt_PV); + SvUPGRADE(TARG,SVt_PV); if (value > 255 && !IN_BYTES) { SvGROW(TARG, (STRLEN)UNISKIP(value)+1); @@ -3587,7 +3587,7 @@ PP(pp_uc) else { STRLEN min = len + 1; - (void)SvUPGRADE(TARG, SVt_PV); + SvUPGRADE(TARG, SVt_PV); SvGROW(TARG, min); (void)SvPOK_only(TARG); d = (U8*)SvPVX(TARG); @@ -3670,7 +3670,7 @@ PP(pp_lc) else { STRLEN min = len + 1; - (void)SvUPGRADE(TARG, SVt_PV); + SvUPGRADE(TARG, SVt_PV); SvGROW(TARG, min); (void)SvPOK_only(TARG); d = (U8*)SvPVX(TARG); @@ -3759,7 +3759,7 @@ PP(pp_quotemeta) SvUTF8_off(TARG); /* decontaminate */ if (len) { - (void)SvUPGRADE(TARG, SVt_PV); + SvUPGRADE(TARG, SVt_PV); SvGROW(TARG, (len * 2) + 1); d = SvPVX(TARG); if (DO_UTF8(sv)) { |