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/Dummy/src/dummy_proto.cpp | 2 +- protocols/Dummy/src/dummy_proto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Dummy/src') diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp index 8a67a9763d..a3f0eb113e 100644 --- a/protocols/Dummy/src/dummy_proto.cpp +++ b/protocols/Dummy/src/dummy_proto.cpp @@ -136,7 +136,7 @@ INT_PTR CDummyProto::GetCaps(int type, MCONTACT) ////////////////////////////////////////////////////////////////////////////// -int CDummyProto::SendMsg(MCONTACT hContact, int, const char *msg) +int CDummyProto::SendMsg(MCONTACT hContact, const char *msg) { std::string message = msg; unsigned int id = InterlockedIncrement(&this->msgid); diff --git a/protocols/Dummy/src/dummy_proto.h b/protocols/Dummy/src/dummy_proto.h index d7836f7f64..3760fbba4a 100644 --- a/protocols/Dummy/src/dummy_proto.h +++ b/protocols/Dummy/src/dummy_proto.h @@ -30,7 +30,7 @@ struct CDummyProto : public PROTO INT_PTR GetCaps(int type, MCONTACT hContact = NULL) override; - int SendMsg(MCONTACT hContact, int flags, const char* msg) override; + int SendMsg(MCONTACT hContact, const char* msg) override; int SetStatus(int iNewStatus) override; -- cgit v1.2.3