summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-03-14 07:59:54 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-18 13:38:32 +0000
commit7fc634935189abec1d574a9733c7093e5c9f2781 (patch)
tree812ca27d3ab8a2b9edc12b87c730981d50858d59 /scope.c
parentad5c2da20a409831a6acfe749626ce0396b43b3f (diff)
downloadperl-7fc634935189abec1d574a9733c7093e5c9f2781.tar.gz
More const parms
Message-ID: <20050314195954.GB7141@petdance.com> p4raw-id: //depot/perl@24042
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index c4edd17605..debdd4be6e 100644
--- a/scope.c
+++ b/scope.c
@@ -592,7 +592,7 @@ Perl_save_aelem(pTHX_ const AV *av, I32 idx, SV **sptr)
SSPUSHINT(SAVEt_AELEM);
/* if it gets reified later, the restore will have the wrong refcnt */
if (!AvREAL(av) && AvREIFY(av))
- SvREFCNT_inc(*sptr);
+ (void)SvREFCNT_inc(*sptr);
save_scalar_at(sptr);
sv = *sptr;
/* If we're localizing a tied array element, this new sv