From 38f9ee31afcb519f7ecba02b56737ae637de5c7a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Jul 2015 13:43:27 +0000 Subject: more warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14728 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ModernOpt/src/main.cpp | 2 +- plugins/ModernOpt/src/modernopt.cpp | 2 +- plugins/ModernOpt/src/mopt_home.cpp | 2 +- plugins/ModernOpt/src/mopt_ignore.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/ModernOpt') diff --git a/plugins/ModernOpt/src/main.cpp b/plugins/ModernOpt/src/main.cpp index c482834ada..fffb2fc1fb 100644 --- a/plugins/ModernOpt/src/main.cpp +++ b/plugins/ModernOpt/src/main.cpp @@ -18,7 +18,7 @@ PLUGININFOEX pluginInfoEx = { {0x621f886b, 0xa7f6, 0x457f, {0x9d, 0x62, 0x8e, 0xe8, 0x4c, 0x27, 0x59, 0x93}} }; -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID) { hInst = hinstDLL; return TRUE; diff --git a/plugins/ModernOpt/src/modernopt.cpp b/plugins/ModernOpt/src/modernopt.cpp index c4ff2702f4..12f11758bf 100644 --- a/plugins/ModernOpt/src/modernopt.cpp +++ b/plugins/ModernOpt/src/modernopt.cpp @@ -451,7 +451,7 @@ static void ModernOptUI_SelectSection(HWND hwndDlg, struct ModernOptionsData *da //////////////////////////////////////////////////////////////////////////////// // Services -static INT_PTR svcModernOpt_Impl(WPARAM wParam, LPARAM lParam) +static INT_PTR svcModernOpt_Impl(WPARAM, LPARAM) { if (!hwndModernOpt) { ModernOptionsData *dat = new ModernOptionsData; diff --git a/plugins/ModernOpt/src/mopt_home.cpp b/plugins/ModernOpt/src/mopt_home.cpp index da340420b5..5023341d62 100644 --- a/plugins/ModernOpt/src/mopt_home.cpp +++ b/plugins/ModernOpt/src/mopt_home.cpp @@ -28,7 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern HMODULE hInst; -INT_PTR CALLBACK ModernOptHome_DlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +INT_PTR CALLBACK ModernOptHome_DlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM) { int i; diff --git a/plugins/ModernOpt/src/mopt_ignore.cpp b/plugins/ModernOpt/src/mopt_ignore.cpp index 0135165ebc..8f38231f40 100644 --- a/plugins/ModernOpt/src/mopt_ignore.cpp +++ b/plugins/ModernOpt/src/mopt_ignore.cpp @@ -30,7 +30,7 @@ static HWND g_hwndModernOptIgnore = NULL; void ModernOptIgnore_AddItem(MODERNOPTOBJECT *obj) { - if ( g_hwndModernOptIgnore ) + if (g_hwndModernOptIgnore) SendMessage(g_hwndModernOptIgnore, WM_APP, 0, (LPARAM)obj); } -- cgit v1.2.3