From: H.Merijn Brand Date: Wed, 2 Feb 2005 12:49:46 +0000 (+0000) Subject: Picky compilers (e.g. vac on AIX 5.2) do not accept statements X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f8952f9c0d30f65af1114a6384b97ad7770dce81;p=p5sagit%2Fp5-mst-13.2.git Picky compilers (e.g. vac on AIX 5.2) do not accept statements between declarations p4raw-id: //depot/perl@23919 --- diff --git a/ext/Devel/PPPort/PPPort.xs b/ext/Devel/PPPort/PPPort.xs index ed3c379..e0bfb31 100644 --- a/ext/Devel/PPPort/PPPort.xs +++ b/ext/Devel/PPPort/PPPort.xs @@ -102,8 +102,9 @@ XS(XS_Devel__PPPort_dXSTARG) { dXSARGS; dXSTARG; + IV iv; SP -= items; - IV iv = SvIV(ST(0)) + 1; + iv = SvIV(ST(0)) + 1; PUSHi(iv); XSRETURN(1); }