Commit 3a78bcf4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

UniXML: drop unused cur variable

parent a4c77a77
...@@ -200,7 +200,6 @@ class UniXML ...@@ -200,7 +200,6 @@ class UniXML
~UniXML(); ~UniXML();
xmlNode* cur;
xmlDoc* doc; xmlDoc* doc;
inline std::string getFileName() inline std::string getFileName()
{ {
......
...@@ -77,8 +77,6 @@ void UniXML::newDoc(const string& root_node, string xml_ver) ...@@ -77,8 +77,6 @@ void UniXML::newDoc(const string& root_node, string xml_ver)
//assert(doc != NULL); //assert(doc != NULL);
if(doc == NULL) if(doc == NULL)
throw NameNotFound("UniXML(open): не смогли создать doc=" + root_node); throw NameNotFound("UniXML(open): не смогли создать doc=" + root_node);
cur = getFirstNode();
} }
void UniXML::open(const string& _filename) void UniXML::open(const string& _filename)
...@@ -98,7 +96,6 @@ void UniXML::open(const string& _filename) ...@@ -98,7 +96,6 @@ void UniXML::open(const string& _filename)
//For include: <xi:include href="test2.xml"/> //For include: <xi:include href="test2.xml"/>
xmlXIncludeProcess(doc); xmlXIncludeProcess(doc);
cur = getFirstNode();
filename = _filename; filename = _filename;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment