summaryrefslogtreecommitdiff
path: root/plugins/KeyboardNotify/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-26 13:43:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-26 13:43:27 +0000
commit38f9ee31afcb519f7ecba02b56737ae637de5c7a (patch)
tree98a676cd76c8897c1a12ae69a4a3c740ac5cc065 /plugins/KeyboardNotify/src/main.cpp
parentf4af257e9365602dc81a4b324b0ffeed1e0b2eef (diff)
more warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14728 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/KeyboardNotify/src/main.cpp')
-rw-r--r--plugins/KeyboardNotify/src/main.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp
index d51412af9b..183aeb0f4e 100644
--- a/plugins/KeyboardNotify/src/main.cpp
+++ b/plugins/KeyboardNotify/src/main.cpp
@@ -267,7 +267,7 @@ BOOL checkUnopenEvents()
static void __cdecl FlashThreadFunction(void *)
{
BOOL bEvent = FALSE;
- DWORD dwEventStarted, dwFlashStarted;
+ DWORD dwEventStarted, dwFlashStarted = 0;
BYTE data, unchangedLeds;
while (TRUE) {
@@ -418,7 +418,7 @@ static int PluginMessageEventHook(WPARAM hContact, LPARAM hEvent)
// ** Checks for pending events. If it finds any, it pings the FlashThread to keep the LEDs flashing.
// **
-static VOID CALLBACK ReminderTimer(HWND hwnd, UINT message, UINT_PTR idEvent, DWORD dwTime)
+static VOID CALLBACK ReminderTimer(HWND, UINT, UINT_PTR, DWORD)
{
int nIndex;
CLISTEVENT *pCLEvent;
@@ -471,7 +471,7 @@ static INT_PTR StartBlinkService(WPARAM wParam, LPARAM lParam)
return 0;
}
-static INT_PTR EventsWereOpenedService(WPARAM wParam, LPARAM lParam)
+static INT_PTR EventsWereOpenedService(WPARAM wParam, LPARAM)
{
if ((unsigned int)wParam > nExternCount)
nExternCount = 0;
@@ -491,7 +491,7 @@ static INT_PTR IsFlashingActiveService(WPARAM, LPARAM)
}
-INT_PTR NormalizeSequenceService(WPARAM wParam, LPARAM lParam)
+INT_PTR NormalizeSequenceService(WPARAM, LPARAM lParam)
{
TCHAR strAux[MAX_PATH + 1], *strIn = (TCHAR*)lParam;
@@ -741,15 +741,13 @@ static int ModulesLoaded(WPARAM, LPARAM)
return 0;
}
-
-
-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 &pluginInfo;
}