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

Remove unused function in soap

This commit is contained in:
Niels Dossche
2025-05-28 23:54:53 +02:00
parent 21691cb19b
commit 8b4edf0229

View File

@@ -35,7 +35,7 @@ static bool is_blank(const xmlChar* str)
return true;
}
/* removes all empty text, comments and other insignoficant nodes */
/* removes all empty text, comments and other insignificant nodes */
static void cleanup_xml_node(xmlNodePtr node)
{
xmlNodePtr trav;
@@ -243,22 +243,6 @@ xmlNodePtr get_node_ex(xmlNodePtr node, const char *name, const char *ns)
return NULL;
}
xmlNodePtr get_node_recurisve_ex(xmlNodePtr node, const char *name, const char *ns)
{
while (node != NULL) {
if (node_is_equal_ex(node, name, ns)) {
return node;
} else if (node->children != NULL) {
xmlNodePtr tmp = get_node_recurisve_ex(node->children, name, ns);
if (tmp) {
return tmp;
}
}
node = node->next;
}
return NULL;
}
xmlNodePtr get_node_with_attribute_ex(xmlNodePtr node, const char *name, const char *name_ns, const char *attribute, const char *value, const char *attr_ns)
{
xmlAttrPtr attr;