8000 Remove unused function in soap · php/php-src@8b4edf0 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 8b4edf0

Browse files
committed
Remove unused function in soap
1 parent 21691cb commit 8b4edf0

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

ext/soap/php_xml.c

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static bool is_blank(const xmlChar* str)
3535
return true;
3636
}
3737

38-
/* removes all empty text, comments and other insignoficant nodes */
38+
/* removes all empty text, comments and other insignificant nodes */
3939
static void cleanup_xml_node(xmlNodePtr node)
4040
{
4141
xmlNodePtr trav;
@@ -243,22 +243,6 @@ xmlNodePtr get_node_ex(xmlNodePtr node, const char *name, const char *ns)
243243
return NULL;
244244
}
245245

246-
xmlNodePtr get_node_recurisve_ex(xmlNodePtr node, const char *name, const char *ns)
247-
{
248-
while (node != NULL) {
249-
if (node_is_equal_ex(node, name, ns)) {
250-
return node;
251-
} else if (node->children != NULL) {
252-
xmlNodePtr tmp = get_node_recurisve_ex(node->children, name, ns);
253-
if (tmp) {
254-
return tmp;
255-
}
256-
}
257-
node = node->next;
258-
}
259-
return NULL;
260-
}
261-
262246
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)
263247
{
264248
xmlAttrPtr attr;

0 commit comments

Comments
 (0)
0