summaryrefslogtreecommitdiff
path: root/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-12 16:49:19 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-12 16:49:19 +0000
commitf4ea6188b62a2575f63a841fbc0aa8ccd52a0b2d (patch)
tree0c7de91ef4bce560fe6ee4abd9d3db5bb283ef4d /plugins/TranslitSwitcher/src/TranslitSwitcher.cpp
parent98fe8db0f24e050b091d6ba27f945075ef630422 (diff)
TranslitSwitcher: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11351 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TranslitSwitcher/src/TranslitSwitcher.cpp')
-rw-r--r--plugins/TranslitSwitcher/src/TranslitSwitcher.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp
index f4b9be16c6..4c4498dd90 100644
--- a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp
+++ b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp
@@ -44,40 +44,40 @@ static IconItem iconList[] =
{ LPGEN("Invert Case and Send"), "Invert Case and Send", IDI_INVERTSEND },
};
-bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{
hInst = hinstDLL;
return true;
}
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfoEx;
}
//-------------------------------------------------------------------------------------------------------
#define MS_TS_SWITCHLAYOUT "TranslitSwitcher/SwitchLayout"
-INT_PTR ServiceSwitch(WPARAM wParam, LPARAM lParam)
+INT_PTR ServiceSwitch(WPARAM, LPARAM lParam)
{
SwitchLayout(lParam != 0);
return 0;
}
#define MS_TS_TRANSLITLAYOUT "TranslitSwitcher/TranslitLayout"
-INT_PTR ServiceTranslit(WPARAM wParam, LPARAM lParam)
+INT_PTR ServiceTranslit(WPARAM, LPARAM lParam)
{
TranslitLayout(lParam != 0);
return 0;
}
#define MS_TS_INVERTCASE "TranslitSwitcher/InvertCase"
-INT_PTR ServiceInvert(WPARAM wParam, LPARAM lParam)
+INT_PTR ServiceInvert(WPARAM, LPARAM lParam)
{
InvertCase(lParam != 0);
return 0;
}
-int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
+int OnModulesLoaded(WPARAM, LPARAM)
{
HookEvent(ME_MSG_BUTTONPRESSED, OnButtonPressed);
if (ServiceExists(MS_BB_ADDBUTTON)) {
@@ -110,7 +110,7 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
return 0;
}
-int OnPreShutdown(WPARAM wParam, LPARAM lParam)
+int OnPreShutdown(WPARAM, LPARAM)
{
if (ServiceExists(MS_BB_REMOVEBUTTON)) {
BBButton bbd = { 0 };