mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02: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:
parent
02b94556cf
commit
484d4351c2
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue