diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 49c91ac2d5a2..e85db94801af 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -811,8 +811,6 @@ static bool zlib_create_dictionary_string(HashTable *options, char **dict, size_ zend_string **end, **ptr = strings - 1; ZEND_HASH_FOREACH_VAL(dictionary, cur) { - size_t i; - *++ptr = zval_get_string(cur); ZEND_ASSERT(*ptr); if (ZSTR_LEN(*ptr) == 0 || EG(exception)) {