From 077a1145ab183c15b484c5615480321a8df5303d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 16 Dec 2014 17:16:20 +0000 Subject: MobileState: changed warning lavel to w4 git-svn-id: http://svn.miranda-ng.org/main/trunk@11472 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MobileState/mobilestate_12.vcxproj | 8 ++++---- plugins/MobileState/src/clients.h | 2 +- plugins/MobileState/src/commonheaders.h | 2 +- plugins/MobileState/src/main.cpp | 20 ++++++++++---------- 4 files changed, 16 insertions(+), 16 deletions(-) (limited to 'plugins') diff --git a/plugins/MobileState/mobilestate_12.vcxproj b/plugins/MobileState/mobilestate_12.vcxproj index 765a51202a..2f32b3ce90 100644 --- a/plugins/MobileState/mobilestate_12.vcxproj +++ b/plugins/MobileState/mobilestate_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/MobileState/src/clients.h b/plugins/MobileState/src/clients.h index 00bf0ee55c..15d3ecfa69 100644 --- a/plugins/MobileState/src/clients.h +++ b/plugins/MobileState/src/clients.h @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + */ #pragma once diff --git a/plugins/MobileState/src/commonheaders.h b/plugins/MobileState/src/commonheaders.h index 0e277b950f..c68887be05 100644 --- a/plugins/MobileState/src/commonheaders.h +++ b/plugins/MobileState/src/commonheaders.h @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + */ #pragma once diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp index 98c5f1b1ea..38cfe2f71f 100644 --- a/plugins/MobileState/src/main.cpp +++ b/plugins/MobileState/src/main.cpp @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + */ #include "commonheaders.h" @@ -24,7 +24,7 @@ int hLangpack; HANDLE hExtraIcon = NULL; PLUGININFOEX pluginInfo = { - sizeof(PLUGININFOEX), + sizeof(PLUGININFOEX), __PLUGIN_NAME, PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM), __DESCRIPTION, @@ -34,23 +34,23 @@ PLUGININFOEX pluginInfo = { __AUTHORWEB, UNICODE_AWARE, // {F0BA32D0-CD07-4A9C-926B-5A1FF21C3C10} - {0xf0ba32d0, 0xcd07, 0x4a9c, {0x92, 0x6b, 0x5a, 0x1f, 0xf2, 0x1c, 0x3c, 0x10}} + { 0xf0ba32d0, 0xcd07, 0x4a9c, { 0x92, 0x6b, 0x5a, 0x1f, 0xf2, 0x1c, 0x3c, 0x10 } } }; static IconItem icon = { LPGEN("Mobile State"), "mobile_icon", IDI_MOBILE }; -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; } -bool hasMobileClient(MCONTACT hContact, LPARAM lParam) +bool hasMobileClient(MCONTACT hContact, LPARAM) { char *proto = GetContactProto(hContact); @@ -79,21 +79,21 @@ int ExtraIconsApply(WPARAM wParam, LPARAM lParam) return 0; } -int onContactSettingChanged(WPARAM wParam,LPARAM lParam) +int onContactSettingChanged(WPARAM wParam, LPARAM lParam) { - DBCONTACTWRITESETTING *cws=(DBCONTACTWRITESETTING*)lParam; + DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*)lParam; char *proto = GetContactProto(wParam); if (!proto) return 0; - if (!mir_strcmp(cws->szModule,proto)) + if (!mir_strcmp(cws->szModule, proto)) if (!mir_strcmp(cws->szSetting, "MirVer")) ExtraIconsApply(wParam, 1); return 0; } -int onModulesLoaded(WPARAM wParam,LPARAM lParam) +int onModulesLoaded(WPARAM, LPARAM) { // Set initial value for all contacts for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) -- cgit v1.2.3