Merge pull request #121 from mamarley/unusedcipherfix
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 15 Apr 2015 18:12:08 +0000 (20:12 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 15 Apr 2015 18:12:08 +0000 (20:12 +0200)
Fix compiler warning when compiling without QCA support

src/core/coreuserinputhandler.cpp

index 72ac996..7887a92 100644 (file)
@@ -772,6 +772,7 @@ void CoreUserInputHandler::defaultHandler(QString cmd, const BufferInfo &bufferI
 
 void CoreUserInputHandler::putPrivmsg(const QString &target, const QString &message, std::function<QByteArray(const QString &, const QString &)> encodeFunc, Cipher *cipher)
 {
+    Q_UNUSED(cipher);
     QString cmd("PRIVMSG");
     QByteArray targetEnc = serverEncode(target);