summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorEric Brine <ikegami@adaelis.com>2012-12-05 01:30:25 -0500
committerKarl Williamson <public@khwilliamson.com>2013-01-03 21:21:53 -0700
commitd2687c9864ee55010b4c40a464ee830f0bdda6e8 (patch)
tree7c9f0d791c6cb6cfb719f82ff0805fe4dde3f92a /sv.h
parent5398666e2f464a280d839dd05997123b4d99b1e0 (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index f01a91c476..1eb8f1f095 100644
--- a/sv.h
+++ b/sv.h
@@ -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>