forked from github/server
unused function
This commit is contained in:
parent
3ac834a46d
commit
2016a9ef20
2
cmake
2
cmake
|
@ -1 +1 @@
|
|||
Subproject commit d88983c7ff4bc3a4884a7c3f74e8190bac5eab23
|
||||
Subproject commit f1fb3943ace59994d90d71a891b80033dc2700a2
|
|
@ -75,18 +75,6 @@ static void xml_readtext(xmlNodePtr node, struct locale **lang, xmlChar ** text)
|
|||
*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)
|
||||
{
|
||||
xmlChar *propValue = xmlGetProp(node, BAD_CAST name);
|
||||
|
|
Loading…
Reference in New Issue