Declare an 'i' var wherever needed for local use, rather than being in
scope for 1600 lines.
const U8 *vecstr = NULL;
STRLEN veclen = 0;
char c = 0;
- int i;
unsigned base = 0;
IV iv = 0;
UV uv = 0;
}
if (asterisk) {
+ int i;
if (args)
i = va_arg(*args, int);
else
if (*q == '.') {
q++;
if (*q == '*') {
+ int i;
q++;
if ( (epix = expect_number(&q)) ) {
if (*q++ == '$') {
/* frexp() (or frexpl) has some unspecified behaviour for
* nan/inf/-inf, so let's avoid calling that on non-finites. */
if (isALPHA_FOLD_NE(c, 'e') && FV_ISFINITE(fv)) {
- i = PERL_INT_MIN;
+ int i = PERL_INT_MIN;
(void)Perl_frexp((NV)fv, &i);
if (i == PERL_INT_MIN)
Perl_die(aTHX_ "panic: frexp: %" FV_GF, fv);
/* SPECIAL */
case 'n':
+ {
+ int i;
if (vectorize)
goto unknown;
i = SvCUR(sv) - origlen;
else
sv_setuv_mg(argsv, has_utf8 ? (UV)sv_len_utf8(sv) : (UV)i);
goto donevalidconversion;
+ }
/* UNKNOWN */