summaryrefslogtreecommitdiff
path: root/src/xml/XmlReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/XmlReader.cpp')
-rw-r--r--src/xml/XmlReader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xml/XmlReader.cpp b/src/xml/XmlReader.cpp
index e281424..06090d2 100644
--- a/src/xml/XmlReader.cpp
+++ b/src/xml/XmlReader.cpp
@@ -144,6 +144,7 @@ std::shared_ptr<model::domain::Domain> XmlReader::readDomain()
};
if (!parseArguments(handlers)) {
std::cout << "Errors while parsing arguments for domain node!" << std::endl;
+ return nullptr;
}
std::cout << res->getName() << std::endl;
return res;