summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsAppWeb/src/proto.cpp')
-rw-r--r--protocols/WhatsAppWeb/src/proto.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/WhatsAppWeb/src/proto.cpp b/protocols/WhatsAppWeb/src/proto.cpp
index 6afd3da618..41491f3e95 100644
--- a/protocols/WhatsAppWeb/src/proto.cpp
+++ b/protocols/WhatsAppWeb/src/proto.cpp
@@ -96,7 +96,7 @@ void WhatsAppProto::OnModulesLoaded()
/////////////////////////////////////////////////////////////////////////////////////////
// PROTO_INTERFACE implementation
-MCONTACT WhatsAppProto::AddToList(int flags, PROTOSEARCHRESULT *psr)
+MCONTACT WhatsAppProto::AddToList(int, PROTOSEARCHRESULT *psr)
{
if (psr->id.w == nullptr)
return NULL;
@@ -183,7 +183,7 @@ int WhatsAppProto::SetStatus(int new_status)
return 0;
}
-int WhatsAppProto::SendMsg(MCONTACT hContact, int, const char *msg)
+int WhatsAppProto::SendMsg(MCONTACT hContact, int, const char *)
{
ptrA jid(getStringA(hContact, DBKEY_ID));
if (jid == NULL)
@@ -197,7 +197,7 @@ int WhatsAppProto::SendMsg(MCONTACT hContact, int, const char *msg)
return 0;
}
-int WhatsAppProto::UserIsTyping(MCONTACT hContact, int type)
+int WhatsAppProto::UserIsTyping(MCONTACT hContact, int)
{
if (hContact && isOnline()) {
ptrA jid(getStringA(hContact, DBKEY_ID));