diff options
Diffstat (limited to 'library/cpp/xml/document/xml-document.cpp')
| -rw-r--r-- | library/cpp/xml/document/xml-document.cpp | 4 |
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 c159c04d58d..18a554d7321 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()); |
