summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-11-19 18:06:14 +0000
committerSteve Peters <steve@fisharerojo.org>2005-11-19 18:06:14 +0000
commit65e66c80cefadd5e860e8232c69fd1a11e6c5b92 (patch)
tree10177bdeb1370532dd1f3d86655ede7d3d6e3e5b /op.c
parent9d5071ba46e33ed04e81c1abff42c919060572e8 (diff)
downloadperl-65e66c80cefadd5e860e8232c69fd1a11e6c5b92.tar.gz
Cleaning up some warnings generated by "gcc -W"
p4raw-id: //depot/perl@26175
Diffstat (limited to 'op.c')
-rw-r--r--op.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/op.c b/op.c
index d9cb1d0b65..aeedab9287 100644
--- a/op.c
+++ b/op.c
@@ -4628,9 +4628,10 @@ Perl_newCONSTSUB(pTHX_ HV *stash, const char *name, SV *sv)
CvCONST_on(cv);
sv_setpvn((SV*)cv, "", 0); /* prototype is "" */
+#ifdef USE_ITHREADS
if (stash)
CopSTASH_free(PL_curcop);
-
+#endif
LEAVE;
return cv;