This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix clone_leak problem.
[perl5.git] / pp.h
diff --git a/pp.h b/pp.h
index 61fadc3..1d9a933 100644 (file)
--- a/pp.h
+++ b/pp.h
@@ -7,13 +7,13 @@
  *
  */
 
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
 #define ARGS thr
 #define dARGS struct perl_thread *thr;
 #else
 #define ARGS
 #define dARGS
-#endif /* USE_THREADS */
+#endif /* USE_5005THREADS */
 
 #define PP(s) OP * Perl_##s(pTHX)
 
@@ -344,6 +344,7 @@ See C<PUSHu>.
           if (PL_amagic_generation) { \
            SV* tmpsv; \
            SV* arg= sp[shift]; \
+          if(0) goto am_again;  /* shut up unused warning */ \
          am_again: \
            if ((SvAMAGIC(arg))&&\
                (tmpsv=AMG_CALLun(arg,meth))) {\