diff options
author | George Hazan <george.hazan@gmail.com> | 2016-02-09 12:21:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-02-09 12:21:12 +0000 |
commit | fd8fdaa7ade16132fd3f23db5b0727e3615038ad (patch) | |
tree | 7b3f216bfe6edbe91b166cb67fb24fee2ae3e8cd /protocols/WhatsApp/src/proto.cpp | |
parent | a2e3d77c3aa849f3dd29be0ef114f9ea7e126146 (diff) |
- code cleaning;
- warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@16250 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.cpp')
-rw-r--r-- | protocols/WhatsApp/src/proto.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp index 9cfa22ac8e..3d63355f19 100644 --- a/protocols/WhatsApp/src/proto.cpp +++ b/protocols/WhatsApp/src/proto.cpp @@ -65,7 +65,7 @@ WhatsAppProto::~WhatsAppProto() CloseHandle(update_loop_lock_);
}
-int WhatsAppProto::OnEvent(PROTOEVENTTYPE evType, WPARAM wParam, LPARAM lParam)
+int WhatsAppProto::OnEvent(PROTOEVENTTYPE evType, WPARAM, LPARAM)
{
switch (evType) {
case EV_PROTO_ONMENU:
@@ -88,7 +88,7 @@ int WhatsAppProto::OnEvent(PROTOEVENTTYPE evType, WPARAM wParam, LPARAM lParam) return TRUE;
}
-DWORD_PTR WhatsAppProto::GetCaps(int type, MCONTACT hContact)
+DWORD_PTR WhatsAppProto::GetCaps(int type, MCONTACT)
{
switch (type) {
case PFLAGNUM_1:
@@ -377,7 +377,8 @@ void WhatsAppProto::NotifyEvent(const string& title, const string& info, MCONTAC void WhatsAppProto::NotifyEvent(const TCHAR *title, const TCHAR *info, MCONTACT contact, DWORD flags, TCHAR* szUrl)
{
- int ret; int timeout; COLORREF colorBack = 0; COLORREF colorText = 0;
+ int ret, timeout = 0;
+ COLORREF colorBack = 0, colorText = 0;
switch (flags) {
case WHATSAPP_EVENT_CLIENT:
|