From bdadb5fe6f8fcbc76c8fb2c8e2979dd475543146 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Tue, 13 Sep 2016 19:29:17 +0200 Subject: Remove unneeded code --- mxml.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/mxml.c b/mxml.c index dd99ad9..06be305 100644 --- a/mxml.c +++ b/mxml.c @@ -3,23 +3,6 @@ #include -mxml_type_t type_cb(mxml_node_t *node) { - const char *type; - - type = mxmlElementGetAttr(node, "type"); - if (type == NULL) - type = mxmlGetElement(node); - - if (!strcmp(type, "integer")) - return (MXML_INTEGER); - else if (!strcmp(type, "opaque")) - return (MXML_OPAQUE) ; - else if (!strcmp(type, "real")) - return (MXML_REAL); - else - return (MXML_TEXT); -} - int process(FILE *f) { mxml_node_t *root, *node, *next; const char* elename; -- cgit v1.2.3