Fix compiler warning when compiling without QCA support 121/head
authorMichael Marley <michael@michaelmarley.com>
Mon, 6 Apr 2015 01:54:36 +0000 (21:54 -0400)
committerMichael Marley <michael@michaelmarley.com>
Mon, 6 Apr 2015 01:54:36 +0000 (21:54 -0400)
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);