summaryrefslogtreecommitdiffstats
path: root/quanta/parts/kafka/kafkacommon.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:21:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 17:22:00 +0200
commitbb0891791c9d5c14f6ae0c402de62ff71ac8bec8 (patch)
treed3eb28d0dbcf5d85dd65158501935a759240a738 /quanta/parts/kafka/kafkacommon.cpp
parent36c3be9f414dd9b7828469770128ef5201d97ac3 (diff)
downloadtdewebdev-bb0891791c9d5c14f6ae0c402de62ff71ac8bec8.tar.gz
tdewebdev-bb0891791c9d5c14f6ae0c402de62ff71ac8bec8.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 89592516252c214530a9d77bec0fe5afb21b0236)
Diffstat (limited to 'quanta/parts/kafka/kafkacommon.cpp')
-rw-r--r--quanta/parts/kafka/kafkacommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quanta/parts/kafka/kafkacommon.cpp b/quanta/parts/kafka/kafkacommon.cpp
index a445e920..4c59fc3f 100644
--- a/quanta/parts/kafka/kafkacommon.cpp
+++ b/quanta/parts/kafka/kafkacommon.cpp
@@ -959,7 +959,7 @@ Node* kafkaCommon::createMandatoryNodeSubtree(Node *node, Document *doc)
nodeTQTag = QuantaCommon::tagFromDTD(node);
if(!nodeTQTag)
- return false;
+ return 0;
searchForMandatoryNode = true;
currentParent = node;