From cb1787afbb67184321f206f13f836b63cd06740a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 15 Sep 2023 14:52:01 +0300 Subject: PROTO_INTERFACE::SendMsg - unused parameter flags removed --- protocols/WhatsApp/src/proto.cpp | 2 +- protocols/WhatsApp/src/proto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/WhatsApp') diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp index 917ca012aa..303753b7ee 100644 --- a/protocols/WhatsApp/src/proto.cpp +++ b/protocols/WhatsApp/src/proto.cpp @@ -243,7 +243,7 @@ int WhatsAppProto::SetStatus(int iNewStatus) ///////////////////////////////////////////////////////////////////////////////////////// -int WhatsAppProto::SendMsg(MCONTACT hContact, int, const char *pszMsg) +int WhatsAppProto::SendMsg(MCONTACT hContact, const char *pszMsg) { if (!isOnline()) return -1; diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index ef3bb4f408..01ab9ba043 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -466,7 +466,7 @@ public: MCONTACT AddToList(int flags, PROTOSEARCHRESULT *psr) override; INT_PTR GetCaps(int type, MCONTACT hContact = NULL) override; HANDLE SearchBasic(const wchar_t* id) override; - int SendMsg(MCONTACT hContact, int flags, const char* msg) override; + int SendMsg(MCONTACT hContact, const char* msg) override; int SetStatus(int iNewStatus) override; int UserIsTyping(MCONTACT hContact, int type) override; -- cgit v1.2.3