1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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

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;
}