X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Plugin.git;a=blobdiff_plain;f=Plugin.xs;h=8486171a3cd74f3558066b8aa89386400e356f58;hp=32b2eae9d96c5950e130f9092241b852f9d31369;hb=78b39159a7d3b163f6bc8bcd8284632cd5f875cb;hpb=7fb1e66881f572d36b7c22624b7f09672170b990 diff --git a/Plugin.xs b/Plugin.xs index 32b2eae..8486171 100644 --- a/Plugin.xs +++ b/Plugin.xs @@ -44,13 +44,11 @@ Plugin_comp(pTHX_ const SV * const pattern, const U32 flags) dSP; REGEXP * rx; re__engine__Plugin re; - I32 count; I32 buffers; /* exp/xend version of the pattern & length */ STRLEN plen; char* exp = SvPV((SV*)pattern, plen); - char* xend = exp + plen; /* The REGEXP structure to return to perl */ Newxz(rx, 1, REGEXP); @@ -210,7 +208,7 @@ Plugin_free(pTHX_ REGEXP * const rx) } void * -Plugin_dupe(pTHX_ const REGEXP * rx, CLONE_PARAMS *param) +Plugin_dupe(pTHX_ REGEXP * const rx, CLONE_PARAMS *param) { Perl_croak(aTHX_ "dupe not supported yet"); return rx->pprivate; @@ -261,7 +259,6 @@ Plugin_numbered_buff_STORE(pTHX_ REGEXP * const rx, const I32 paren, SV const * const value) { dSP; - I32 items; SV * callback; GET_SELF_FROM_PPRIVATE(rx->pprivate); @@ -290,7 +287,6 @@ Plugin_numbered_buff_LENGTH(pTHX_ REGEXP * const rx, const SV * const sv, const I32 paren) { dSP; - I32 items; SV * callback; GET_SELF_FROM_PPRIVATE(rx->pprivate);