In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/9bcdb3dd02eeb4602916eaf43f73d58395ffd840?hp=39234ceabe18aeebbd90822c648a304dcc29a895>

- Log -----------------------------------------------------------------
commit 9bcdb3dd02eeb4602916eaf43f73d58395ffd840
Author: Jerry D. Hedden <[email protected]>
Date:   Tue Sep 4 13:19:26 2012 -0400

    Fix compiler warning about empty if body
    
    This is meant to correct the following 'blead' build warning:
    
    op.c: In function 'Perl_op_free':
    op.c:713:30: warning: suggest braces around empty body in an 'if' statement
-----------------------------------------------------------------------

Summary of changes:
 op.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/op.c b/op.c
index cdfd7e4..9e176ad 100644
--- a/op.c
+++ b/op.c
@@ -709,8 +709,9 @@ Perl_op_free(pTHX_ OP *o)
     if (type == OP_NULL)
        type = (OPCODE)o->op_targ;
 
-    if (o->op_slabbed)
-        Slab_to_rw(OpSLAB(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() */

--
Perl5 Master Repository

Reply via email to