X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=indirect.xs;h=85741a83de37d18e6bfec577bbf577737627e75b;hp=2f8ab7de7e87bb461ade74f6d9431b0ce952d8df;hb=f5b9489370626c0c6c8becbdafa6c0ef5d6f0899;hpb=88fea8eaa6fc01af02741dcf05de7fd24fe8fc1d diff --git a/indirect.xs b/indirect.xs index 2f8ab7d..85741a8 100644 --- a/indirect.xs +++ b/indirect.xs @@ -95,7 +95,6 @@ STATIC const char *indirect_linestr = NULL; STATIC void indirect_map_store(pTHX_ const OP *o, const char *src, SV *sv) { #define indirect_map_store(O, S, N) indirect_map_store(aTHX_ (O), (S), (N)) OP2STR_BUF; - const char *pl_linestr; SV *val; /* When lex_inwhat is set, we're in a quotelike environment (qq, qr, but not q) @@ -103,7 +102,7 @@ STATIC void indirect_map_store(pTHX_ const OP *o, const char *src, SV *sv) { * still be alive somewhere. */ if (!PL_lex_inwhat) { - pl_linestr = SvPVX_const(PL_linestr); + const char *pl_linestr = SvPVX_const(PL_linestr); if (indirect_linestr != pl_linestr) { hv_clear(indirect_map); indirect_linestr = pl_linestr;