summaryrefslogtreecommitdiff
path: root/plugins/AuthState
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-13 07:20:25 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-13 07:20:25 +0000
commit3a93a20a595f312127dc086bc673b41a3bcd9def (patch)
tree19ea82bd96d9b1beb685299e3b21bb4ea9dd78fb /plugins/AuthState
parent5508884a945ac2966fc4ec408aa6421057c26074 (diff)
AuthState: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11359 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AuthState')
-rw-r--r--plugins/AuthState/authstate_12.vcxproj8
-rw-r--r--plugins/AuthState/src/main.cpp12
-rw-r--r--plugins/AuthState/src/options.cpp2
3 files changed, 11 insertions, 11 deletions
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 @@
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>Commonheaders.h</PrecompiledHeaderFile>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ExceptionHandling>false</ExceptionHandling>
@@ -109,7 +109,7 @@
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>Commonheaders.h</PrecompiledHeaderFile>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ExceptionHandling>false</ExceptionHandling>
</ClCompile>
@@ -136,7 +136,7 @@
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>Commonheaders.h</PrecompiledHeaderFile>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ExceptionHandling>false</ExceptionHandling>
</ClCompile>
@@ -162,7 +162,7 @@
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>Commonheaders.h</PrecompiledHeaderFile>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<ExceptionHandling>false</ExceptionHandling>
</ClCompile>
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;