summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2004-08-01 14:46:48 +0200
committerNicholas Clark <nick@ccl4.org>2004-09-10 09:56:57 +0000
commit7460c2637c31cfed79164a59895a769753ca4334 (patch)
tree0c061be81b41c353130f30c876b24db2804ff5ee /scope.c
parent056da35ae719beeb62cfbd388507da3a0383fe7b (diff)
downloadperl-7460c2637c31cfed79164a59895a769753ca4334.tar.gz
Integrate:
[ 23277] Subject: SvO?OK_off()'s return value Message-Id: <20040801124648.7f9b3cee@r2d2> Move (void) casts into SvOOK_off macro. p4raw-link: @23277 on //depot/perl: 0c34ef67a6aacb77e2b5421df56439f11f4d78c0 p4raw-id: //depot/maint-5.8/perl@23313 p4raw-edited: from //depot/perl@23312 'edit in' pp_ctl.c (@23252..) p4raw-integrated: from //depot/perl@23312 'edit in' pp_hot.c (@23176..) sv.c (@23197..) sv.h (@23214..) 'merge in' pp.c (@23176..) mg.c scope.c (@23187..) gv.c (@23199..) perl.c (@23230..)
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 0d216d18af..9136df946d 100644
--- a/scope.c
+++ b/scope.c
@@ -938,7 +938,7 @@ Perl_leave_scope(pTHX_ I32 base)
case SVt_PVCV:
Perl_croak(aTHX_ "panic: leave_scope pad code");
default:
- (void)SvOK_off(sv);
+ SvOK_off(sv);
break;
}
}