unused function

This commit is contained in:
Enno Rehling 2017-01-28 20:07:31 +01:00
parent 3ac834a46d
commit 2016a9ef20
2 changed files with 1 additions and 13 deletions

2
cmake

@ -1 +1 @@
Subproject commit d88983c7ff4bc3a4884a7c3f74e8190bac5eab23 Subproject commit f1fb3943ace59994d90d71a891b80033dc2700a2

View File

@ -75,18 +75,6 @@ static void xml_readtext(xmlNodePtr node, struct locale **lang, xmlChar ** text)
*text = xmlNodeListGetString(node->doc, node->children, 1); *text = xmlNodeListGetString(node->doc, node->children, 1);
} }
static const spell *xml_spell(xmlNode * node, const char *name)
{
const spell *sp = NULL;
xmlChar *propValue = xmlGetProp(node, BAD_CAST name);
if (propValue != NULL) {
sp = find_spell((const char *)propValue);
assert(sp);
xmlFree(propValue);
}
return sp;
}
static spellref *xml_spellref(xmlNode * node, const char *name) static spellref *xml_spellref(xmlNode * node, const char *name)
{ {
xmlChar *propValue = xmlGetProp(node, BAD_CAST name); xmlChar *propValue = xmlGetProp(node, BAD_CAST name);