Skip to content

Commit 03ad54a

Browse files
alexdowadnikic
authored andcommitted
Remove unused 'ce_get_iterator' field from spl_fixedarray_object
1 parent 258bffc commit 03ad54a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ext/spl/spl_fixedarray.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ typedef struct _spl_fixedarray_object { /* {{{ */
5454
zend_function *fptr_count;
5555
int current;
5656
int flags;
57-
zend_class_entry *ce_get_iterator;
5857
zend_object std;
5958
} spl_fixedarray_object;
6059
/* }}} */
@@ -221,7 +220,6 @@ static zend_object *spl_fixedarray_object_new_ex(zend_class_entry *class_type, z
221220

222221
if (orig && clone_orig) {
223222
spl_fixedarray_object *other = spl_fixed_array_from_obj(orig);
224-
intern->ce_get_iterator = other->ce_get_iterator;
225223
spl_fixedarray_init(&intern->array, other->array.size);
226224
spl_fixedarray_copy(&intern->array, &other->array);
227225
}

0 commit comments

Comments
 (0)