diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:52:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:52:01 +0000 |
commit | a15cd68f0412e1b211e746a2e4d5682e96f5a113 (patch) | |
tree | d09d41832621cfc07957dbbcd60077fdf96b7e66 /protocols/Yahoo/src/proto.cpp | |
parent | 85bd008c039eb1d93894e94fba9d158a42a71a12 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/proto.cpp')
-rw-r--r-- | protocols/Yahoo/src/proto.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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);
|