diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-13 07:20:25 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-13 07:20:25 +0000 |
commit | 3a93a20a595f312127dc086bc673b41a3bcd9def (patch) | |
tree | 19ea82bd96d9b1beb685299e3b21bb4ea9dd78fb /plugins/AuthState/src/main.cpp | |
parent | 5508884a945ac2966fc4ec408aa6421057c26074 (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/src/main.cpp')
-rw-r--r-- | plugins/AuthState/src/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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)
|