diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-12-08 06:00:28 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-12-09 18:47:17 -0800 |
commit | 8e217d4af45bd3ca441339d3a0ca39d1d1b14293 (patch) | |
tree | 355facd71fe1f42d01b9b7e8e62b4b47ae90ff3b /doio.c | |
parent | fc2b2dcaa051537d8d92ccf366f291581b26024b (diff) | |
download | perl-8e217d4af45bd3ca441339d3a0ca39d1d1b14293.tar.gz |
doio.c: Use SvREFCNT_dec_NN
The sole use of SvREFCNT_dec in doio.c is on a variable than is
never null (setdefout would fail an assertion otherwise), so
no need to check whether it is.
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -908,7 +908,7 @@ Perl_nextargv(pTHX_ GV *gv) { GV * const oldout = MUTABLE_GV(av_pop(PL_argvout_stack)); setdefout(oldout); - SvREFCNT_dec(oldout); + SvREFCNT_dec_NN(oldout); return NULL; } setdefout(gv_fetchpvs("STDOUT", GV_ADD|GV_NOTQUAL, SVt_PVIO)); |