summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-10-16 12:57:37 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-10-16 12:57:48 +0200
commit17a4cd3c11fd80a3533adecd3ec95fa55084c8bf (patch)
treeac754a65cce846ce4503fabf74786eea6932c63d /kopete/protocols/jabber
parentf43fe7ee82192183c62767f0914a8dd64c4f4914 (diff)
downloadtdenetwork-17a4cd3c11fd80a3533adecd3ec95fa55084c8bf.tar.gz
tdenetwork-17a4cd3c11fd80a3533adecd3ec95fa55084c8bf.zip
Fix FTBFS on missing return values
This resolves bug 2718 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 60880aed60f18f95d860510e19ba926b82d588af)
Diffstat (limited to 'kopete/protocols/jabber')
-rw-r--r--kopete/protocols/jabber/libiris/iris/xmpp-core/simplesasl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-core/simplesasl.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-core/simplesasl.cpp
index 371f6092..ca55c72a 100644
--- a/kopete/protocols/jabber/libiris/iris/xmpp-core/simplesasl.cpp
+++ b/kopete/protocols/jabber/libiris/iris/xmpp-core/simplesasl.cpp
@@ -457,6 +457,9 @@ public:
out_buf.resize(0);
return Success;
}
+
+ err = TQCA::SASL::NoMech;
+ return Error;
}
bool encode(const TQByteArray &a, TQByteArray *b)