develooper Front page | perl.perl5.porters | Postings from September 2012

Re: [perl.git] branch blead, updated. v5.17.3-241-gb4503eb

From:
Jerry D. Hedden
Date:
September 4, 2012 10:33
Subject:
Re: [perl.git] branch blead, updated. v5.17.3-241-gb4503eb
Message ID:
CABcAEYw-aRnGfj9HYAbbdy4vg9GZZv+33cVmroKiwAor7mEpoA@mail.gmail.com
This portion of this commit

> @@ -698,7 +709,8 @@ Perl_op_free(pTHX_ OP *o)
>      if (type == OP_NULL)
>         type = (OPCODE)o->op_targ;
>
> -    Slab_to_rw(o);
> +    if (o->op_slabbed)
> +        Slab_to_rw(OpSLAB(o));
>
>      /* COP* is not cleared by op_clear() so that we may track line
>       * numbers etc even after null() */

Is now generating the following build warning:

op.c: In function 'Perl_op_free':
op.c:713:30: warning: suggest braces around empty body in an 'if' statement

The patch here:

https://rt.perl.org:443/rt3/Ticket/Display.html?id=114744

fixes it (I think).



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About