if (!re || !re->precomp || re->prelen != (I32)len ||
memNE(re->precomp, t, len))
{
- regexp_engine * eng = NULL;
-
+ const regexp_engine *eng = re ? re->engine : NULL;
+
if (re) {
- eng = re->engine;
ReREFCNT_dec(re);
PM_SETRE(pm, NULL); /* crucial if regcomp aborts */
} else if (PL_curcop->cop_hints_hash) {
if (ptr && SvIOK(ptr) && SvIV(ptr))
eng = INT2PTR(regexp_engine*,SvIV(ptr));
}
-
+
if (PL_op->op_flags & OPf_SPECIAL)
PL_reginterp_cnt = I32_MAX; /* Mark as safe. */
(UV)TRIE_LIST_ITEM(state,charid).newstate
);
if (!(charid % 10))
- PerlIO_printf( Perl_debug_log, "\n%*s| ",
- (depth * 2) + 14,"");
+ PerlIO_printf(Perl_debug_log, "\n%*s| ",
+ (int)((depth * 2) + 14), "");
}
}
PerlIO_printf( Perl_debug_log, "\n");