From 3a93a20a595f312127dc086bc673b41a3bcd9def Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 13 Dec 2014 07:20:25 +0000 Subject: AuthState: changed warning lavel to w4 git-svn-id: http://svn.miranda-ng.org/main/trunk@11359 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AuthState/authstate_12.vcxproj | 8 ++++---- plugins/AuthState/src/main.cpp | 12 ++++++------ plugins/AuthState/src/options.cpp | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'plugins') diff --git a/plugins/AuthState/authstate_12.vcxproj b/plugins/AuthState/authstate_12.vcxproj index 340b9e5a28..848d066f60 100644 --- a/plugins/AuthState/authstate_12.vcxproj +++ b/plugins/AuthState/authstate_12.vcxproj @@ -81,7 +81,7 @@ MultiThreadedDebugDLL Use Commonheaders.h - Level3 + Level4 EditAndContinue 4996;%(DisableSpecificWarnings) false @@ -109,7 +109,7 @@ NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) Use Commonheaders.h - Level3 + Level4 4996;%(DisableSpecificWarnings) false @@ -136,7 +136,7 @@ MultiThreadedDebugDLL Use Commonheaders.h - Level3 + Level4 4996;%(DisableSpecificWarnings) false @@ -162,7 +162,7 @@ NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) Use Commonheaders.h - Level3 + Level4 4996;%(DisableSpecificWarnings) false diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp index 9e351b5058..6b815bb339 100644 --- a/plugins/AuthState/src/main.cpp +++ b/plugins/AuthState/src/main.cpp @@ -50,18 +50,18 @@ PLUGININFOEX pluginInfo = { { 0xdace7d41, 0xdfa9, 0x4772, { 0x89, 0xae, 0xa5, 0x9a, 0x61, 0x53, 0xe6, 0xb2 } } }; -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID) { g_hInst = hinstDLL; return TRUE; } -extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) +extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) { return &pluginInfo; } -INT_PTR getIconToUse(MCONTACT hContact, LPARAM lParam) +INT_PTR getIconToUse(MCONTACT hContact, LPARAM) { char *proto = GetContactProto(hContact); // if (lParam == 1) return icon_none; @@ -120,7 +120,7 @@ int onContactSettingChanged(WPARAM hContact, LPARAM lParam) return 0; } -int onDBContactAdded(WPARAM hContact, LPARAM lParam) +int onDBContactAdded(WPARAM hContact, LPARAM) { // A new contact added, mark it as recent db_set_b((MCONTACT)hContact, MODULENAME, "ShowIcons", 1); @@ -129,7 +129,7 @@ int onDBContactAdded(WPARAM hContact, LPARAM lParam) return 0; } -INT_PTR onAuthMenuSelected(WPARAM hContact, LPARAM lParam) +INT_PTR onAuthMenuSelected(WPARAM hContact, LPARAM) { byte enabled = db_get_b((MCONTACT)hContact, "AuthState", "ShowIcons", 1); db_set_b((MCONTACT)hContact, MODULENAME, "ShowIcons", !enabled); @@ -138,7 +138,7 @@ INT_PTR onAuthMenuSelected(WPARAM hContact, LPARAM lParam) return 0; } -int onPrebuildContactMenu(WPARAM hContact, LPARAM lParam) +int onPrebuildContactMenu(WPARAM hContact, LPARAM) { char *proto = GetContactProto((MCONTACT)hContact); if (!proto) diff --git a/plugins/AuthState/src/options.cpp b/plugins/AuthState/src/options.cpp index 2e413066be..99a3b95c59 100644 --- a/plugins/AuthState/src/options.cpp +++ b/plugins/AuthState/src/options.cpp @@ -69,7 +69,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP return FALSE; } -int onOptInitialise(WPARAM wParam, LPARAM lParam) +int onOptInitialise(WPARAM wParam, LPARAM) { OPTIONSDIALOGPAGE odp = { sizeof(odp) }; odp.hInstance = g_hInst; -- cgit v1.2.3