summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-14 20:15:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-14 20:15:15 +0000
commit91867c03b57bbf85eae500475683c16da4ec3a9c (patch)
tree0b9bb5817ca3b6690a5debffc170ca68469c20f5 /protocols/VKontakte/src/vk_proto.cpp
parent2a984f7b7b1fc33af714c3346badd0df6ca459bc (diff)
VK: warning level 4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11424 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 38a9e274bb..e5a1ec9c14 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -98,7 +98,7 @@ CVkProto::~CVkProto()
vk_Instances.remove(this);
}
-int CVkProto::OnModulesLoaded(WPARAM wParam, LPARAM lParam)
+int CVkProto::OnModulesLoaded(WPARAM, LPARAM)
{
// Chats
GCREGISTER gcr = { sizeof(gcr) };
@@ -353,7 +353,7 @@ void CVkProto::MsgPopup(MCONTACT hContact, const TCHAR *szMsg, const TCHAR *szTi
//////////////////////////////////////////////////////////////////////////////
-int CVkProto::OnPreShutdown(WPARAM wParam, LPARAM lParam)
+int CVkProto::OnPreShutdown(WPARAM, LPARAM)
{
debugLogA("CVkProto::OnPreShutdown");
@@ -364,7 +364,7 @@ int CVkProto::OnPreShutdown(WPARAM wParam, LPARAM lParam)
//////////////////////////////////////////////////////////////////////////////
-DWORD_PTR CVkProto::GetCaps(int type, MCONTACT hContact)
+DWORD_PTR CVkProto::GetCaps(int type, MCONTACT)
{
switch (type) {
case PFLAGNUM_1:
@@ -548,7 +548,7 @@ int CVkProto::OnEvent(PROTOEVENTTYPE event, WPARAM wParam, LPARAM lParam)
//////////////////////////////////////////////////////////////////////////////
-MCONTACT CVkProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
+MCONTACT CVkProto::AddToList(int, PROTOSEARCHRESULT* psr)
{
debugLogA("CVkProto::AddToList");
@@ -566,7 +566,7 @@ int CVkProto::AuthRequest(MCONTACT hContact,const PROTOCHAR* message)
debugLogA("CVkProto::AuthRequest");
if (!IsOnline())
return 1;
- bool bIsFriend = getByte(hContact, "Auth", -1)==0;
+
LONG userID = getDword(hContact, "ID", -1);
if ((userID == -1) || !hContact)
return 1;
@@ -632,7 +632,7 @@ int CVkProto::Authorize(HANDLE hDbEvent)
return AuthRequest(hContact, NULL);
}
-int CVkProto::AuthDeny(HANDLE hDbEvent, const PROTOCHAR *reason)
+int CVkProto::AuthDeny(HANDLE hDbEvent, const PROTOCHAR*)
{
debugLogA("CVkProto::AuthDeny");
if (!IsOnline())
@@ -664,17 +664,17 @@ int CVkProto::UserIsTyping(MCONTACT hContact, int type)
return 1;
}
-MCONTACT CVkProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent)
+MCONTACT CVkProto::AddToListByEvent(int, int, HANDLE)
{
return NULL;
}
-int CVkProto::AuthRecv(MCONTACT hContact,PROTORECVEVENT *)
+int CVkProto::AuthRecv(MCONTACT, PROTORECVEVENT *)
{
return 1;
}
-int CVkProto::GetInfo(MCONTACT hContact, int infoType)
+int CVkProto::GetInfo(MCONTACT hContact, int)
{
debugLogA("CVkProto::GetInfo");
LONG userID = getDword(hContact, "ID", -1);
@@ -684,42 +684,42 @@ int CVkProto::GetInfo(MCONTACT hContact, int infoType)
return 0;
}
-int CVkProto::RecvContacts(MCONTACT hContact,PROTORECVEVENT *)
+int CVkProto::RecvContacts(MCONTACT, PROTORECVEVENT *)
{
return 1;
}
-int CVkProto::RecvUrl(MCONTACT hContact,PROTORECVEVENT *)
+int CVkProto::RecvUrl(MCONTACT, PROTORECVEVENT *)
{
return 1;
}
-int CVkProto::SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList)
+int CVkProto::SendContacts(MCONTACT, int, int, MCONTACT*)
{
return 1;
}
-int CVkProto::SendUrl(MCONTACT hContact,int flags,const char *url)
+int CVkProto::SendUrl(MCONTACT, int, const char*)
{
return 1;
}
-int CVkProto::SetApparentMode(MCONTACT hContact,int mode)
+int CVkProto::SetApparentMode(MCONTACT, int)
{
return 1;
}
-int CVkProto::RecvAwayMsg(MCONTACT hContact,int mode,PROTORECVEVENT *evt)
+int CVkProto::RecvAwayMsg(MCONTACT, int, PROTORECVEVENT*)
{
return 1;
}
-HANDLE CVkProto::GetAwayMsg(MCONTACT hContact)
+HANDLE CVkProto::GetAwayMsg(MCONTACT)
{
return 0; // Status messages are disabled
}
-int CVkProto::SetAwayMsg(int status, const PROTOCHAR *msg)
+int CVkProto::SetAwayMsg(int, const PROTOCHAR*)
{
return 0; // Status messages are disabled
}