From a15cd68f0412e1b211e746a2e4d5682e96f5a113 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 13:52:01 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/LotusNotify/src/LotusNotify.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'plugins/LotusNotify/src/LotusNotify.cpp') diff --git a/plugins/LotusNotify/src/LotusNotify.cpp b/plugins/LotusNotify/src/LotusNotify.cpp index e417bcf361..855b12087a 100644 --- a/plugins/LotusNotify/src/LotusNotify.cpp +++ b/plugins/LotusNotify/src/LotusNotify.cpp @@ -574,7 +574,6 @@ void checkthread(void*) STATUS error = NOERROR; char fullpath[255]; DBHANDLE db_handle = NULLHANDLE; /* database handle */ - TCHAR buffer[NSF_INFO_SIZE] = TEXT(""); /* database info buffer */ char UserName[MAXUSERNAME + 1]; HANDLE hTable; @@ -864,10 +863,10 @@ INT_PTR PluginMenuCommand(WPARAM wParam, LPARAM lParam) //window timer callback function, called on timer event -void CALLBACK atTime(HWND hWnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime) +void CALLBACK atTime(HWND, UINT, UINT_PTR idEvent, DWORD) { log(L"atTime: start"); - BOOL b = KillTimer(hTimerWnd, idEvent); + KillTimer(hTimerWnd, idEvent); if (currentStatus != ID_STATUS_OFFLINE) { //if status lets to check check(); @@ -1497,7 +1496,7 @@ INT_PTR GetName(WPARAM wParam, LPARAM lParam) //gives icon for proto module -INT_PTR TMLoadIcon(WPARAM wParam, LPARAM lParam) +INT_PTR TMLoadIcon(WPARAM wParam, LPARAM) { UINT id; @@ -1770,7 +1769,7 @@ extern "C" int __declspec(dllexport) Unload() return 0; } -extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion) +extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD) { #ifdef _WIN64 #error LotusNotify.dll cannot work with 64bit Miranda. (Lotus client is 32bit only) @@ -1780,8 +1779,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD miranda extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_LOTUSNOTIFY, MIID_PROTOCOL, MIID_LAST }; - -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved) +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID ) { switch (dwReason) { case DLL_PROCESS_ATTACH: -- cgit v1.2.3