diff options
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 2 | ||||
-rw-r--r-- | protocols/Discord/src/proto.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index 3f04af06a3..e3ac110128 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -258,7 +258,7 @@ void CDiscordProto::OnCommandGuildDeleted(const JSONNode &pRoot) ///////////////////////////////////////////////////////////////////////////////////////// // guild members -void CDiscordProto::OnCommandGuildMemberAdded(const JSONNode &pRoot) +void CDiscordProto::OnCommandGuildMemberAdded(const JSONNode&) { } diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp index 70d666ac3e..68fb32d8a8 100644 --- a/protocols/Discord/src/proto.cpp +++ b/protocols/Discord/src/proto.cpp @@ -408,8 +408,6 @@ void CDiscordProto::MarkReadTimerProc(HWND hwnd, UINT, UINT_PTR id, DWORD) { CDiscordProto *ppro = (CDiscordProto*)(id - 1); - JSONNode root; root.push_back(JSONNode("token", nullptr)); - mir_cslock lck(ppro->csMarkReadQueue); while (ppro->arMarkReadQueue.getCount()) { CDiscordUser *pUser = ppro->arMarkReadQueue[0]; |