diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2014-06-09 05:50:19 -0400 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-06-12 11:02:28 +1000 |
commit | 762333d9ece738d85d8c0668c9b2dc6e83281c73 (patch) | |
tree | 71e43deb5d0defe948f7a09ad128206e8f4da8e1 /pp_ctl.c | |
parent | 08b8e3e1a56c513f5c879d172f8882354c2b53e5 (diff) | |
download | perl-762333d9ece738d85d8c0668c9b2dc6e83281c73.tar.gz |
SvREFCNT_dec_NN in pp_require
Some compilers (GCC) will inline+optimize this, some don't (Visual C). Make
it clear to not check for null twice.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3962,11 +3962,11 @@ PP(pp_require) filter_has_file = 0; filter_cache = NULL; if (filter_state) { - SvREFCNT_dec(filter_state); + SvREFCNT_dec_NN(filter_state); filter_state = NULL; } if (filter_sub) { - SvREFCNT_dec(filter_sub); + SvREFCNT_dec_NN(filter_sub); filter_sub = NULL; } } |