summaryrefslogtreecommitdiff
path: root/libtemplate/xmlparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtemplate/xmlparser.c')
-rw-r--r--libtemplate/xmlparser.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libtemplate/xmlparser.c b/libtemplate/xmlparser.c
index f5f3d6e..4aa0a81 100644
--- a/libtemplate/xmlparser.c
+++ b/libtemplate/xmlparser.c
@@ -965,13 +965,6 @@ bool cXmlParser::ParseAttributes(xmlAttrPtr attr, xmlNodePtr node, vector<pair<s
while (NULL != attr) {
string name = (const char*)attr->name;
- /*
- if (!name.compare("debug")) {
- attribs.push_back(pair<string, string>((const char*)attr->name, "true"));
- attr = attr->next;
- continue;
- }
- */
xmlChar *value = NULL;
value = xmlGetProp(node, attr->name);
if (!view->ValidAttribute(isViewElement ? "viewelement" : (const char*)node->name, (const char*)attr->name)) {