This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Silence an "unused parameter" warning in Perl_reg_numbered_buff_get().
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 11 Jan 2007 15:07:28 +0000 (15:07 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 11 Jan 2007 15:07:28 +0000 (15:07 +0000)
This parameter might become handy in the future, so keep it.

p4raw-id: //depot/perl@29757

regcomp.c

index 05d2c09..4d139f2 100644 (file)
--- 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) {
         /* $` */