summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2004-08-01 14:46:48 +0200
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2004-09-08 16:49:59 +0000
commit0c34ef67a6aacb77e2b5421df56439f11f4d78c0 (patch)
tree43e67efbabfb5340312bcb8c06c91ea20c158930 /scope.c
parent59ca07c7edc9811274fdf723986979460325278a (diff)
downloadperl-0c34ef67a6aacb77e2b5421df56439f11f4d78c0.tar.gz
SvO?OK_off()'s return value
Message-Id: <20040801124648.7f9b3cee@r2d2> Move (void) casts into SvOOK_off macro. p4raw-id: //depot/perl@23277
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 b38ae7e0cb..af10b71383 100644
--- a/scope.c
+++ b/scope.c
@@ -934,7 +934,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;
}
SvPADSTALE_on(sv); /* mark as no longer live */