]> granicus.if.org Git - php/commitdiff
Remove unused 'ce_get_iterator' field from spl_fixedarray_object
authorAlex Dowad <alexinbeijing@gmail.com>
Tue, 21 Apr 2020 13:20:38 +0000 (15:20 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 23 Apr 2020 08:05:08 +0000 (10:05 +0200)
ext/spl/spl_fixedarray.c

index ce3cd2635e420a5910effef995dca4b55b3ed47b..ec037d9da60bb131bc64f3f5d0b7ac647f06f61f 100644 (file)
@@ -54,7 +54,6 @@ typedef struct _spl_fixedarray_object { /* {{{ */
        zend_function         *fptr_count;
        int                    current;
        int                    flags;
-       zend_class_entry      *ce_get_iterator;
        zend_object            std;
 } spl_fixedarray_object;
 /* }}} */
@@ -221,7 +220,6 @@ static zend_object *spl_fixedarray_object_new_ex(zend_class_entry *class_type, z
 
        if (orig && clone_orig) {
                spl_fixedarray_object *other = spl_fixed_array_from_obj(orig);
-               intern->ce_get_iterator = other->ce_get_iterator;
                spl_fixedarray_init(&intern->array, other->array.size);
                spl_fixedarray_copy(&intern->array, &other->array);
        }