In perl.git, the branch smoke-me/quieten-readonly-ops has been updated

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

- Log -----------------------------------------------------------------
commit ca9b5c9aadf1089989ab507b417abaad756b3b0e
Author: Nicholas Clark <[email protected]>
Date:   Tue Sep 4 23:05:09 2012 +0200

    Fix a warning about an empty body for Slab_to_rw() for the default build.
    
    Slab_to_rw() is only defined as a function with -DPERL_DEBUG_READONLY_OPS.
    Warning spotted by Jerry D. Hedden.
-----------------------------------------------------------------------

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

diff --git a/op.c b/op.c
index cdfd7e4..142ba30 100644
--- a/op.c
+++ b/op.c
@@ -283,7 +283,7 @@ Perl_Slab_to_rw(pTHX_ OPSLAB *const slab)
 }
 
 #else
-#  define Slab_to_rw(op)
+#  define Slab_to_rw(op)    NOOP
 #endif
 
 /* This cannot possibly be right, but it was copied from the old slab

--
Perl5 Master Repository

Reply via email to