projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ef8d46e
)
SvREFCNT_inc already checks if the SV is non-NULL
Vincent Pit [Sun, 8 Nov 2009 15:13:22 +0000 (16:13 +0100)]
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
43cbc07
..
573b67b
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-575,8
+575,7
@@
Perl_op_clear(pTHX_ OP *o)
&& PL_curpad
#endif
? cGVOPo_gv : NULL;
- if (gv)
- SvREFCNT_inc(gv);
+ SvREFCNT_inc_simple_void(gv);
#ifdef USE_ITHREADS
if (cPADOPo->op_padix > 0) {
/* No GvIN_PAD_off(cGVOPo_gv) here, because other references