summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-26 22:55:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-26 22:55:43 +0000
commita28ecf67e43b45f0a4d9787f2eb96de6be0f0b85 (patch)
tree7758ddda4e733368852ec0e1edf9bea5f5878687 /protocols/AimOscar/src
parent2c9a9bfed50529645b5b0d5602b2a94b0b5ef900 (diff)
unified project for Dummy protocol
git-svn-id: http://svn.miranda-ng.org/main/trunk@13183 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src')
-rw-r--r--protocols/AimOscar/src/services.cpp6
-rw-r--r--protocols/AimOscar/src/ui.cpp4
-rw-r--r--protocols/AimOscar/src/utility.cpp6
3 files changed, 7 insertions, 9 deletions
diff --git a/protocols/AimOscar/src/services.cpp b/protocols/AimOscar/src/services.cpp
index 8e7c2c75db..886e001ef3 100644
--- a/protocols/AimOscar/src/services.cpp
+++ b/protocols/AimOscar/src/services.cpp
@@ -62,7 +62,7 @@ int CAimProto::OnIdleChanged(WPARAM, LPARAM lParam)
return 0;
}
-int CAimProto::OnWindowEvent(WPARAM wParam, LPARAM lParam)
+int CAimProto::OnWindowEvent(WPARAM, LPARAM lParam)
{
MessageWindowEventData* msgEvData = (MessageWindowEventData*)lParam;
@@ -85,7 +85,7 @@ int CAimProto::OnWindowEvent(WPARAM wParam, LPARAM lParam)
return 0;
}
-INT_PTR CAimProto::GetProfile(WPARAM wParam, LPARAM lParam)
+INT_PTR CAimProto::GetProfile(WPARAM wParam, LPARAM)
{
if (state != 1)
return 0;
@@ -429,7 +429,7 @@ INT_PTR CAimProto::GetAvatar(WPARAM wParam, LPARAM lParam)
return -1;
}
-INT_PTR CAimProto::SetAvatar(WPARAM wParam, LPARAM lParam)
+INT_PTR CAimProto::SetAvatar(WPARAM, LPARAM lParam)
{
TCHAR* szFileName = (TCHAR*)lParam;
diff --git a/protocols/AimOscar/src/ui.cpp b/protocols/AimOscar/src/ui.cpp
index c846ab9574..e38ebfe9b6 100644
--- a/protocols/AimOscar/src/ui.cpp
+++ b/protocols/AimOscar/src/ui.cpp
@@ -1128,7 +1128,7 @@ static INT_PTR CALLBACK privacy_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LP
}
-int CAimProto::OnOptionsInit(WPARAM wParam,LPARAM lParam)
+int CAimProto::OnOptionsInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 1003000;
@@ -1209,7 +1209,7 @@ INT_PTR CALLBACK first_run_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
return FALSE;
}
-INT_PTR CAimProto::SvcCreateAccMgrUI(WPARAM wParam, LPARAM lParam)
+INT_PTR CAimProto::SvcCreateAccMgrUI(WPARAM, LPARAM lParam)
{
return (INT_PTR)CreateDialogParam (hInstance, MAKEINTRESOURCE(IDD_AIMACCOUNT),
(HWND)lParam, first_run_dialog, (LPARAM)this);
diff --git a/protocols/AimOscar/src/utility.cpp b/protocols/AimOscar/src/utility.cpp
index 7480917b4c..499ab43c8a 100644
--- a/protocols/AimOscar/src/utility.cpp
+++ b/protocols/AimOscar/src/utility.cpp
@@ -85,10 +85,8 @@ void CAimProto::broadcast_status(int status)
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
}
-void CAimProto::start_connection(void *arg)
+void CAimProto::start_connection(void*)
{
- int status = (int)arg;
-
if (m_iStatus<=ID_STATUS_OFFLINE)
{
offline_contacts();
@@ -539,7 +537,7 @@ int CAimProto::deleteGroupId(MCONTACT hContact, int i)
/////////////////////////////////////////////////////////////////////////////////////////
-int CAimProto::open_contact_file(const char* sn, const TCHAR* file, const char* mode, TCHAR* &path, bool contact_dir)
+int CAimProto::open_contact_file(const char*, const TCHAR* file, const char*, TCHAR* &path, bool contact_dir)
{
path = (TCHAR*)mir_alloc(MAX_PATH * sizeof(TCHAR));