summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-06-06 18:08:50 -0500
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-06-07 08:18:59 +0000
commit862a34c634844bb3ea22e5f44bdaf2e973831a89 (patch)
tree77292e7d3d639e71bc2aca9df160653ecea15005 /pp_hot.c
parentc158a4fd68e274329d9ffd7198cb9eb1b21b0dfe (diff)
downloadperl-862a34c634844bb3ea22e5f44bdaf2e973831a89.tar.gz
Unvoid SvUPGRADE
Message-ID: <20050607040850.GA7033@petdance.com> p4raw-id: //depot/perl@24717
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index e4266988d0..7d6fdc5a64 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1518,7 +1518,7 @@ Perl_do_readline(pTHX)
sv = TARG;
if (SvROK(sv))
sv_unref(sv);
- (void)SvUPGRADE(sv, SVt_PV);
+ SvUPGRADE(sv, SVt_PV);
tmplen = SvLEN(sv); /* remember if already alloced */
if (!tmplen && !SvREADONLY(sv))
Sv_Grow(sv, 80); /* try short-buffering it */