summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-22 07:28:35 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-22 07:28:35 +0000
commitb7aad4feeb4ebd759b54e75dd2786128ab647f94 (patch)
tree644be46d6207ef6f1ea3e3678e7c85fafbaac73c
parent4d512309996fa63a1292d88a28def9af42711464 (diff)
downloadperl-b7aad4feeb4ebd759b54e75dd2786128ab647f94.tar.gz
suppress redefined warnings on C<INIT {} INIT {}>
p4raw-id: //depot/perl@1628
-rw-r--r--op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.c b/op.c
index fc2e7da461..16f528df84 100644
--- a/op.c
+++ b/op.c
@@ -3669,6 +3669,7 @@ newSUB(I32 floor, OP *o, OP *proto, OP *block)
if (!PL_initav)
PL_initav = newAV();
av_push(PL_initav, SvREFCNT_inc(cv));
+ GvCV(gv) = 0;
}
}