From 258bffca91576f75b1c3b69ecde38b7f30ab7774 Mon Sep 17 00:00:00 2001 From: Alex Dowad Date: Tue, 21 Apr 2020 15:20:01 +0200 Subject: [PATCH] Remove unused 'ce_get_iterator' field from spl_heap_object --- ext/spl/spl_heap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/spl/spl_heap.c b/ext/spl/spl_heap.c index dcef01b5eb..2b3b681f97 100644 --- a/ext/spl/spl_heap.c +++ b/ext/spl/spl_heap.c @@ -68,7 +68,6 @@ typedef struct _spl_heap_it spl_heap_it; struct _spl_heap_object { spl_ptr_heap *heap; int flags; - zend_class_entry *ce_get_iterator; zend_function *fptr_cmp; zend_function *fptr_count; zend_object std; @@ -398,7 +397,6 @@ static zend_object *spl_heap_object_new_ex(zend_class_entry *class_type, zend_ob if (orig) { spl_heap_object *other = spl_heap_from_obj(orig); intern->std.handlers = other->std.handlers; - intern->ce_get_iterator = other->ce_get_iterator; if (clone_orig) { intern->heap = spl_ptr_heap_clone(other->heap); -- 2.40.0