Re: Would -Wno-unused -Wall be better?
Michael G. Schwern [Tue, 29 May 2001 00:55:54 +0000 (01:55 +0100)]
Message-ID: <20010529005553.B675@blackrider.blackstar.co.uk>

p4raw-id: //depot/perl@10274

pp.h

diff --git a/pp.h b/pp.h
index 61fadc3..4474d1a 100644 (file)
--- a/pp.h
+++ b/pp.h
@@ -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))) {\