From d2687c9864ee55010b4c40a464ee830f0bdda6e8 Mon Sep 17 00:00:00 2001 From: Eric Brine Date: Wed, 5 Dec 2012 01:30:25 -0500 Subject: Remove redundant NULL checks. It's safe to pass NULLs to SvREFCNT_dec. --- sv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sv.h') 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 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 -- cgit v1.2.1