diff options
author | Eric Brine <ikegami@adaelis.com> | 2012-12-05 01:30:25 -0500 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-01-03 21:21:53 -0700 |
commit | d2687c9864ee55010b4c40a464ee830f0bdda6e8 (patch) | |
tree | 7c9f0d791c6cb6cfb719f82ff0805fe4dde3f92a /sv.h | |
parent | 5398666e2f464a280d839dd05997123b4d99b1e0 (diff) | |
download | perl-d2687c9864ee55010b4c40a464ee830f0bdda6e8.tar.gz |
Remove redundant NULL checks.
It's safe to pass NULLs to SvREFCNT_dec.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -284,7 +284,7 @@ to return a meaningful value, or check for NULLness, so it's smaller and faster. =for apidoc Am|void|SvREFCNT_dec|SV* sv -Decrements the reference count of the given SV. +Decrements the reference count of the given SV. I<sv> may be be NULL. =for apidoc Am|void|SvREFCNT_dec_NN|SV* sv Same as SvREFCNT_dec, but can only be used if you know I<sv> |