diff options
Diffstat (limited to 'ext/spl/spl_dllist.c')
-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); |