Remove redundant operations from zend_llist_clean() (#19143)

This function calls zend_llist_destroy() which already sets the head and
tail pointers since c732ab40.
This commit is contained in:
Niels Dossche 2025-07-16 09:08:30 +02:00 committed by GitHub
parent 02b94556cf
commit 484d4351c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,7 +121,6 @@ ZEND_API void zend_llist_destroy(zend_llist *l)
ZEND_API void zend_llist_clean(zend_llist *l)
{
zend_llist_destroy(l);
l->head = l->tail = NULL;
}