eo en eo en en en en en sv en en en en en ca en ru en en fr en en fr en en en en sl en sl hbs_lat en en en en pt
commit grep author committer pickaxe ? search: re
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39234ce)
Fix compiler warning about empty if body
Tue, 4 Sep 2012 17:19:26 +0000 (13:19 -0400)
Tue, 4 Sep 2012 19:35:49 +0000 (12:35 -0700)
This is meant to correct te 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
patch | blob | blame | history
diff --git a/op.c b/op.c
index cdfd7e4..9e176ad 100644 (file)
@@ -709,8 +709,9 @@ Perl_op_free(pTHX_ OP *o)
if (type == OP_NULL)
+    if (o->op_slabbed) {
/* COP* is not cleared by op_clear() so that we may track line
* numbers etc even after null() */
Unnamed repository; edit this file 'description' to name te repository.