mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix static analysis warning
The condition is already checked at the start of the function, mark this code properly as unreachable.
This commit is contained in:
@@ -500,7 +500,7 @@ static void dom_insert_node_list_cleanup(xmlNodePtr node)
|
||||
xmlFreeNode(node);
|
||||
} else {
|
||||
/* Must have been a directly-passed node. */
|
||||
ZEND_ASSERT(node->_private != NULL);
|
||||
ZEND_UNREACHABLE();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user