aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/xmlparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xmlparser.cpp b/common/xmlparser.cpp
index f0b7f1cc81..c80d5e15be 100644
--- a/common/xmlparser.cpp
+++ b/common/xmlparser.cpp
@@ -298,7 +298,7 @@ bool XMLParser::closeKey() {
bool XMLParser::parse() {
if (_stream == 0)
- return parserError("XML stream not ready for reading.");
+ return false;
// Make sure we are at the start of the stream.
_stream->seek(0, SEEK_SET);