From: Vincent Pit Date: Sun, 8 Nov 2009 15:13:22 +0000 (+0100) Subject: SvREFCNT_inc already checks if the SV is non-NULL X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=70938cb944714e91b284c1fcdab01a6ab2f49034;p=p5sagit%2Fp5-mst-13.2.git SvREFCNT_inc already checks if the SV is non-NULL --- diff --git a/op.c b/op.c index 43cbc07..573b67b 100644 --- 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