Remove unused function lab_xml_get_node()

This commit is contained in:
Johan Malm 2025-09-25 19:36:37 +01:00 committed by John Lindgren
parent ee87b4fc30
commit bdc8e1c546
2 changed files with 0 additions and 7 deletions

View file

@ -30,7 +30,6 @@ void lab_xml_expand_dotted_attributes(xmlNode *root);
/* Returns true if the node only contains a string or is empty */
bool lab_xml_node_is_leaf(xmlNode *node);
bool lab_xml_get_node(xmlNode *node, const char *key, xmlNode **dst_node);
bool lab_xml_get_string(xmlNode *node, const char *key, char *s, size_t len);
bool lab_xml_get_int(xmlNode *node, const char *key, int *i);
bool lab_xml_get_bool(xmlNode *node, const char *key, bool *b);

View file

@ -164,12 +164,6 @@ get_node(xmlNode *node, const char *key, xmlNode **dst_node, bool leaf_only)
return false;
}
bool
lab_xml_get_node(xmlNode *node, const char *key, xmlNode **dst_node)
{
return get_node(node, key, dst_node, /* leaf_only */ false);
}
bool
lab_xml_get_string(xmlNode *node, const char *key, char *s, size_t len)
{