summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/options.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-03-12 12:04:51 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-03-12 12:04:51 +0000
commit454e1d9c3dd95d332f2a31c261991cf4ba450bcc (patch)
tree107705e96bf2d08c0d0572dec609bc4ffe57854e /plugins/MirOTR/src/options.cpp
parentec639ecbdf49731a0bec26240efb76eb203087bc (diff)
MirOTR: Minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@16468 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src/options.cpp')
-rw-r--r--plugins/MirOTR/src/options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirOTR/src/options.cpp b/plugins/MirOTR/src/options.cpp
index 456635bf13..a5259ae98e 100644
--- a/plugins/MirOTR/src/options.cpp
+++ b/plugins/MirOTR/src/options.cpp
@@ -26,7 +26,7 @@ void SetFilenames(const TCHAR *path)
mir_sntprintf(g_instag_filename, _T("%s\\") _T(INSTAG_FILENAME), path);
}
-int FoldersChanged(WPARAM wParam, LPARAM lParam)
+int FoldersChanged(WPARAM, LPARAM)
{
TCHAR path[MAX_PATH];
if ( FoldersGetCustomPathT(hPATH_MIROTR, path, _countof(path), _T("")))
@@ -112,7 +112,7 @@ void SaveOptions()
db_set_b(0, MODULENAME, "EndWindowClose", options.end_window_close ? 1 : 0);
}
-extern "C" void set_context_contact(void *data, ConnContext *context)
+extern "C" void set_context_contact(void *, ConnContext *context)
{
MCONTACT hContact = find_contact(context->username, context->protocol);
context->app_data = (void*)hContact;
@@ -382,7 +382,7 @@ static INT_PTR CALLBACK DlgProcMirOTROptsProto(HWND hwndDlg, UINT msg, WPARAM wP
case IDC_CMB_PROTO_POLICY:
int proto = ListView_GetSelectionMark(GetDlgItem(hwndDlg, IDC_LV_PROTO_PROTOS));
if (proto == -1) break;
- int sel = SendDlgItemMessage(hwndDlg, IDC_CMB_PROTO_POLICY, CB_GETCURSEL, 0, 0);
+ sel = SendDlgItemMessage(hwndDlg, IDC_CMB_PROTO_POLICY, CB_GETCURSEL, 0, 0);
if (sel == CB_ERR) break;
int len = SendDlgItemMessage(hwndDlg, IDC_CMB_PROTO_POLICY, CB_GETLBTEXTLEN, sel, 0);
if (len < 0) break;
@@ -815,7 +815,7 @@ static INT_PTR CALLBACK DlgProcMirOTROptsFinger(HWND hwndDlg, UINT msg, WPARAM w
/////////////////////////////////////////////////////////////////////////////////////////
-static int OpenOptions(WPARAM wParam, LPARAM lParam)
+static int OpenOptions(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 100;