diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-03-10 15:43:22 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-03-10 15:43:22 +0800 |
commit | 753bbad5353c7bfc13e0fd7b65f0824b6a41e5a8 (patch) | |
tree | 00f1ac9a8dde2e9a9a68a3d1f0825926b9a14a89 | |
parent | a0fac47364c72fd78f2822c1b65c9b8abb58609a (diff) | |
download | php-git-753bbad5353c7bfc13e0fd7b65f0824b6a41e5a8.tar.gz |
Useless check (part of #71753)
-rw-r--r-- | ext/spl/spl_dllist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c index 4eed914aeb..aa0c6c3840 100644 --- a/ext/spl/spl_dllist.c +++ b/ext/spl/spl_dllist.c @@ -156,7 +156,7 @@ static void spl_ptr_llist_destroy(spl_ptr_llist *llist) /* {{{ */ while (current) { next = current->next; - if(current && dtor) { + if (dtor) { dtor(current); } SPL_LLIST_DELREF(current); |