summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-07-04 09:12:00 -0500
committerNicholas Clark <nick@ccl4.org>2005-07-04 19:36:51 +0000
commit3abe233e1ceba6675710708c5678345cce24ac62 (patch)
tree6d94b776e07f35480218ab138e028fb811c8b082 /hv.c
parent8afd2d2ecb560202b631f95a6aff50e34dd49052 (diff)
downloadperl-3abe233e1ceba6675710708c5678345cce24ac62.tar.gz
Remove unnecessary null check
Message-ID: <20050704191200.GA2614@petdance.com> p4raw-id: //depot/perl@25079
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hv.c b/hv.c
index ee332c257f..00aabc03a0 100644
--- a/hv.c
+++ b/hv.c
@@ -1647,8 +1647,7 @@ S_hfreeentries(pTHX_ HV *hv)
I32 riter;
I32 max;
struct xpvhv_aux *iter;
- if (!hv)
- return;
+
if (!HvARRAY(hv))
return;