From 4a0631399b72ff7a62ffc2da69150551e990e0d9 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 8 Aug 2015 06:57:14 +0000 Subject: UserInfoEx: - Warnings fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@14857 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/dlg_propsheet.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/UserInfoEx/src/dlg_propsheet.cpp') diff --git a/plugins/UserInfoEx/src/dlg_propsheet.cpp b/plugins/UserInfoEx/src/dlg_propsheet.cpp index b0f9a2999e..4cb4dc7abc 100644 --- a/plugins/UserInfoEx/src/dlg_propsheet.cpp +++ b/plugins/UserInfoEx/src/dlg_propsheet.cpp @@ -241,7 +241,7 @@ static int SortProc(CPsTreeItem **item1, CPsTreeItem **item2) * @retval 0 on success * @retval 1 on failure **/ -static INT_PTR ShowDialog(WPARAM wParam, LPARAM lParam) +static INT_PTR ShowDialog(WPARAM wParam, LPARAM) { // update some cached settings myGlobals.ShowPropsheetColours = db_get_b(NULL, MODNAME, SET_PROPSHEET_SHOWCOLOURS, TRUE); @@ -397,7 +397,7 @@ static INT_PTR AddPage(WPARAM wParam, LPARAM lParam) * * @return 0 **/ -static int OnDeleteContact(WPARAM wParam, LPARAM lParam) +static int OnDeleteContact(WPARAM wParam, LPARAM) { HWND hWnd = WindowList_Find(g_hWindowList, wParam); if (hWnd != NULL) @@ -411,7 +411,7 @@ static int OnDeleteContact(WPARAM wParam, LPARAM lParam) * * @return 0 **/ -static int OnShutdown(WPARAM wParam, LPARAM lParam) +static int OnShutdown(WPARAM, LPARAM) { WindowList_BroadcastAsync(g_hWindowList, WM_DESTROY, 0, 0); return 0; @@ -1187,7 +1187,7 @@ static INT_PTR CALLBACK DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPar case HM_PROTOACK: { ACKDATA *ack = (ACKDATA *)lParam; - int i, iSubContact; + int i, iSubContact = 0; if (!ack->hContact && ack->type == ACKTYPE_STATUS) return DlgProc(hDlg, M_CHECKONLINE, NULL, NULL); -- cgit v1.2.3