From a15cd68f0412e1b211e746a2e4d5682e96f5a113 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 13:52:01 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/src/proto.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/Yahoo/src/proto.cpp') diff --git a/protocols/Yahoo/src/proto.cpp b/protocols/Yahoo/src/proto.cpp index 70ebc1cdcc..eb84f7dd0e 100644 --- a/protocols/Yahoo/src/proto.cpp +++ b/protocols/Yahoo/src/proto.cpp @@ -138,7 +138,7 @@ MCONTACT CYahooProto::AddToList(int flags, PROTOSEARCHRESULT *psr) return hContact; } -MCONTACT __cdecl CYahooProto::AddToListByEvent(int flags, int /*iContact*/, MEVENT hDbEvent) +MCONTACT __cdecl CYahooProto::AddToListByEvent(int, int, MEVENT hDbEvent) { debugLogA("[YahooAddToListByEvent]"); if (!m_bLoggedIn) @@ -292,7 +292,7 @@ int __cdecl CYahooProto::AuthRequest(MCONTACT hContact, const TCHAR* msg) //////////////////////////////////////////////////////////////////////////////////////// // GetCaps - return protocol capabilities bits -DWORD_PTR __cdecl CYahooProto::GetCaps(int type, MCONTACT hContact) +DWORD_PTR __cdecl CYahooProto::GetCaps(int type, MCONTACT) { switch (type) { case PFLAGNUM_1: @@ -480,7 +480,7 @@ void __cdecl CYahooProto::get_status_thread(void *param) db_free(&dbv); } else { - int status = getWord(hContact, "YStatus", (WORD)YAHOO_STATUS_OFFLINE); + int status = getDword(hContact, "YStatus", YAHOO_STATUS_OFFLINE); sm = yahoo_status_code(yahoo_status(status)); if (sm) sm = strdup(sm); /* we need this to go global FREE later */ } @@ -589,7 +589,7 @@ int __cdecl CYahooProto::SetAwayMsg(int status, const TCHAR* msg) //////////////////////////////////////////////////////////////////////////////////////// // PS_GETMYAWAYMSG -INT_PTR __cdecl CYahooProto::GetMyAwayMsg(WPARAM wParam, LPARAM lParam) +INT_PTR __cdecl CYahooProto::GetMyAwayMsg(WPARAM, LPARAM lParam) { if (!m_bLoggedIn || !m_startMsg) return 0; @@ -733,7 +733,7 @@ INT_PTR CALLBACK first_run_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM return FALSE; } -INT_PTR CYahooProto::SvcCreateAccMgrUI(WPARAM wParam, LPARAM lParam) +INT_PTR CYahooProto::SvcCreateAccMgrUI(WPARAM, LPARAM lParam) { return (INT_PTR)CreateDialogParam(hInstance, MAKEINTRESOURCE(IDD_YAHOOACCOUNT), (HWND)lParam, first_run_dialog, (LPARAM)this); -- cgit v1.2.3