]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Remove unused function lab_xml_get_node()
authorJohan Malm <jgm323@gmail.com>
Thu, 25 Sep 2025 18:36:37 +0000 (19:36 +0100)
committerJohn Lindgren <john@jlindgren.net>
Fri, 26 Sep 2025 14:41:21 +0000 (10:41 -0400)
include/common/xml.h
src/common/xml.c

index 8b49d0e409fb11dfa13ab23ab5d30be47e57debc..16c319ec1b2ca2e63c555ec53969868530c5b6ce 100644 (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);
index 4868d7ed5385474570fcb8670579e8594ee66c52..7e089267982c5b75288d15be8b59ed4b0d3973e7 100644 (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)
 {