diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-12 16:49:19 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-12 16:49:19 +0000 |
commit | f4ea6188b62a2575f63a841fbc0aa8ccd52a0b2d (patch) | |
tree | 0c7de91ef4bce560fe6ee4abd9d3db5bb283ef4d /plugins/TranslitSwitcher | |
parent | 98fe8db0f24e050b091d6ba27f945075ef630422 (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')
-rw-r--r-- | plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj | 8 | ||||
-rw-r--r-- | plugins/TranslitSwitcher/src/Layoutproc.cpp | 4 | ||||
-rw-r--r-- | plugins/TranslitSwitcher/src/TranslitSwitcher.cpp | 14 |
3 files changed, 13 insertions, 13 deletions
diff --git a/plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj b/plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj index 13d67b6206..f51ccb6a07 100644 --- a/plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj +++ b/plugins/TranslitSwitcher/TranslitSwitcher_12.vcxproj @@ -81,7 +81,7 @@ <MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<ExceptionHandling>false</ExceptionHandling>
<PrecompiledHeader>Use</PrecompiledHeader>
@@ -107,7 +107,7 @@ <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<ExceptionHandling>false</ExceptionHandling>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>TranslitSwitcher.h</PrecompiledHeaderFile>
@@ -135,7 +135,7 @@ <BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<FloatingPointModel>Fast</FloatingPointModel>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<ExceptionHandling>false</ExceptionHandling>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>TranslitSwitcher.h</PrecompiledHeaderFile>
@@ -165,7 +165,7 @@ <BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<FloatingPointModel>Fast</FloatingPointModel>
- <WarningLevel>Level3</WarningLevel>
+ <WarningLevel>Level4</WarningLevel>
<ExceptionHandling>false</ExceptionHandling>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>TranslitSwitcher.h</PrecompiledHeaderFile>
diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp index 75a1ca1a3f..6a7a918a1a 100644 --- a/plugins/TranslitSwitcher/src/Layoutproc.cpp +++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp @@ -585,7 +585,7 @@ void InvertCase(bool lastword) GetClassName(hwnd2, szClassName, SIZEOF(szClassName));
if (mir_tstrcmpi(szClassName, _T("RichEdit50W")) != 0)
return;
-
+
DWORD dwStart, dwEnd, dwFlags = SF_TEXT | SF_UNICODE;
SendMessage(hwnd2, EM_GETSEL, (WPARAM)&dwStart, (LPARAM)&dwEnd);
bool somethingIsSelected = (dwStart != dwEnd);
@@ -638,7 +638,7 @@ void InvertCase(bool lastword) mir_free(boo);
}
-int OnButtonPressed(WPARAM wParam, LPARAM lParam)
+int OnButtonPressed(WPARAM, LPARAM lParam)
{
CustomButtonClickData *cbcd = (CustomButtonClickData *)lParam;
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 };
|