summaryrefslogtreecommitdiffstats
path: root/library/cpp/xml/document/xml-document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/xml/document/xml-document.cpp')
-rw-r--r--library/cpp/xml/document/xml-document.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/xml/document/xml-document.cpp b/library/cpp/xml/document/xml-document.cpp
index 18a554d7321..c159c04d58d 100644
--- a/library/cpp/xml/document/xml-document.cpp
+++ b/library/cpp/xml/document/xml-document.cpp
@@ -35,7 +35,7 @@ namespace NXml {
if (!node)
THROW(XmlException, "Can't create root node.");
xmlDocSetRootElement(doc.Get(), node.Get());
- Y_UNUSED(node.Release());
+ Y_UNUSED(node.Release());
Doc = std::move(doc);
} break;
default:
@@ -56,7 +56,7 @@ namespace NXml {
}
void TDocument::ParseFile(const TString& file) {
- if (!NFs::Exists(file))
+ if (!NFs::Exists(file))
THROW(XmlException, "File " << file << " doesn't exist");
TParserCtxtPtr pctx(xmlNewParserCtxt());