silence redefined warning for XS(INIT) {}
Gurusamy Sarathy [Wed, 23 Sep 1998 02:54:15 +0000 (02:54 +0000)]
p4raw-id: //depot/perl@1801

op.c

diff --git a/op.c b/op.c
index ca89229..5b06f6f 100644 (file)
--- a/op.c
+++ b/op.c
@@ -4019,6 +4019,7 @@ newXS(char *name, void (*subaddr) (CV * _CPERLproto), char *filename)
            if (!PL_initav)
                PL_initav = newAV();
            av_push(PL_initav, (SV *)cv);
+           GvCV(gv) = 0;
        }
     }
     else