From: Rafael Garcia-Suarez Date: Thu, 11 Jan 2007 15:07:28 +0000 (+0000) Subject: Silence an "unused parameter" warning in Perl_reg_numbered_buff_get(). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cb5c6874613132c82f1b073739d54dc36840ba18;p=p5sagit%2Fp5-mst-13.2.git Silence an "unused parameter" warning in Perl_reg_numbered_buff_get(). This parameter might become handy in the future, so keep it. p4raw-id: //depot/perl@29757 --- diff --git a/regcomp.c b/regcomp.c index 05d2c09..4d139f2 100644 --- a/regcomp.c +++ b/regcomp.c @@ -4674,6 +4674,7 @@ Perl_reg_numbered_buff_get(pTHX_ I32 paren, const REGEXP * const rx, SV* usesv, I32 i = 0; I32 s1, t1; SV *sv = usesv ? usesv : newSVpvs(""); + PERL_UNUSED_ARG(flags); if (paren == -2 && (s = rx->subbeg) && rx->startp[0] != -1) { /* $` */