From: Manuel Nickschas Date: Thu, 10 Oct 2013 19:09:16 +0000 (+0200) Subject: Fix warnings found by Clang X-Git-Tag: 0.10-beta1~115 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=61bf66635f5b50100aabc6e8ad11d62a21e47589 Fix warnings found by Clang A couple of mismatched tags, and an unused parameter. --- diff --git a/src/client/clientuserinputhandler.h b/src/client/clientuserinputhandler.h index 88f456ce..f5bf36ad 100644 --- a/src/client/clientuserinputhandler.h +++ b/src/client/clientuserinputhandler.h @@ -24,7 +24,7 @@ #include "basichandler.h" class BufferInfo; -class NetworkId; +struct NetworkId; class ClientUserInputHandler : public BasicHandler { diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index a40a1b6b..9f31f6f2 100644 --- a/src/common/signalproxy.h +++ b/src/common/signalproxy.h @@ -26,7 +26,7 @@ #include "protocol.h" -class QMetaObject; +struct QMetaObject; class Peer; class SyncableObject; @@ -125,7 +125,7 @@ private: void handle(Peer *peer, const Protocol::InitData &initData); template - void handle(Peer *peer, T) { Q_ASSERT(0); } + void handle(Peer *peer, T) { Q_UNUSED(peer); Q_ASSERT(0); } bool invokeSlot(QObject *receiver, int methodId, const QVariantList ¶ms, QVariant &returnValue); bool invokeSlot(QObject *receiver, int methodId, const QVariantList ¶ms = QVariantList());