summaryrefslogtreecommitdiff
path: root/plugins/wbOSD
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-11 13:52:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-11 13:52:01 +0000
commita15cd68f0412e1b211e746a2e4d5682e96f5a113 (patch)
treed09d41832621cfc07957dbbcd60077fdf96b7e66 /plugins/wbOSD
parent85bd008c039eb1d93894e94fba9d158a42a71a12 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/wbOSD')
-rw-r--r--plugins/wbOSD/src/events.cpp1
-rw-r--r--plugins/wbOSD/src/main.cpp2
-rw-r--r--plugins/wbOSD/src/wbOSD.cpp6
3 files changed, 3 insertions, 6 deletions
diff --git a/plugins/wbOSD/src/events.cpp b/plugins/wbOSD/src/events.cpp
index 3861473a9e..6a516beff6 100644
--- a/plugins/wbOSD/src/events.cpp
+++ b/plugins/wbOSD/src/events.cpp
@@ -99,7 +99,6 @@ int ContactSettingChanged(WPARAM wParam,LPARAM lParam)
int ContactStatusChanged(WPARAM wParam, LPARAM lParam)
{
MCONTACT hContact = (MCONTACT) wParam;
- WORD oldStatus = LOWORD(lParam);
WORD newStatus = HIWORD(lParam);
DWORD ann=db_get_dw(NULL,THIS_MODULE,"announce", DEFAULT_ANNOUNCE);
diff --git a/plugins/wbOSD/src/main.cpp b/plugins/wbOSD/src/main.cpp
index daa1fa7e06..1184e615ed 100644
--- a/plugins/wbOSD/src/main.cpp
+++ b/plugins/wbOSD/src/main.cpp
@@ -72,7 +72,7 @@ extern "C" __declspec(dllexport) int Unload()
/////////////////////////////////////////////////////////////////////////////////////////
-BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinst, DWORD, LPVOID)
{
hI = hinst;
return TRUE;
diff --git a/plugins/wbOSD/src/wbOSD.cpp b/plugins/wbOSD/src/wbOSD.cpp
index 27b1f4db6b..c7a7983a4d 100644
--- a/plugins/wbOSD/src/wbOSD.cpp
+++ b/plugins/wbOSD/src/wbOSD.cpp
@@ -233,8 +233,6 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
default:
return DefWindowProc (hwnd, message, wParam, lParam);
}
-
- return 0;
}
INT_PTR OSDAnnounce(WPARAM wParam, LPARAM lParam)
@@ -243,7 +241,7 @@ INT_PTR OSDAnnounce(WPARAM wParam, LPARAM lParam)
return SendMessage(hwnd, WM_USER+1, wParam, lParam);
}
-int pluginShutDown(WPARAM wparam,LPARAM lparam)
+int pluginShutDown(WPARAM, LPARAM)
{
logmsg("pluginShutDown");
if (hwnd) {
@@ -255,7 +253,7 @@ int pluginShutDown(WPARAM wparam,LPARAM lparam)
return 0;
}
-int MainInit(WPARAM wparam,LPARAM lparam)
+int MainInit(WPARAM, LPARAM)
{
logmsg("MainInit");
HookEvent(ME_OPT_INITIALISE,OptionsInit);