summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/pingthread.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-07-26 11:49:19 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-07-26 11:49:19 +0000
commitfffcd98b6f25af8d7a7895302e3b1ff64344d526 (patch)
tree8912b5f9b0356c90d057feba3241151c3f5db51b /plugins/Ping/src/pingthread.cpp
parent3fc6022b5755a9a746dd628588d8df2dc60176f2 (diff)
Ping: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14723 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping/src/pingthread.cpp')
-rw-r--r--plugins/Ping/src/pingthread.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp
index 859383a892..c9b6e87421 100644
--- a/plugins/Ping/src/pingthread.cpp
+++ b/plugins/Ping/src/pingthread.cpp
@@ -1,4 +1,4 @@
-#include "common.h"
+#include "stdafx.h"
int upCount, total = 0;
@@ -75,7 +75,7 @@ void SetProtoStatus(TCHAR *pszLabel, char *pszProto, int if_status, int new_stat
}
}
-void __cdecl sttCheckStatusThreadProc(void *vp)
+void __cdecl sttCheckStatusThreadProc(void*)
{
clock_t start_t = clock(), end_t;
while (!get_thread_finished())
@@ -258,7 +258,7 @@ bool FrameIsFloating() {
return (CallService(MS_CLIST_FRAMES_GETFRAMEOPTIONS, MAKEWPARAM(FO_FLOATING, frame_id), 0) != 0);
}
-int FillList(WPARAM wParam, LPARAM lParam) {
+int FillList(WPARAM, LPARAM) {
if (options.logging)
CallService(PLUG "/Log", (WPARAM)_T("ping address list reload"), 0);
@@ -293,7 +293,7 @@ int FillList(WPARAM wParam, LPARAM lParam) {
return 0;
}
-INT_PTR PingPlugShowWindow(WPARAM wParam, LPARAM lParam)
+INT_PTR PingPlugShowWindow(WPARAM, LPARAM)
{
if (hpwnd)
{
@@ -307,10 +307,10 @@ INT_PTR PingPlugShowWindow(WPARAM wParam, LPARAM lParam)
#define TIMER_ID 11042
void CALLBACK TimerProc(
- HWND hwnd, // handle to window
- UINT uMsg, // WM_TIMER message
- UINT_PTR idEvent, // timer identifier
- DWORD dwTime // current system time
+ HWND , // handle to window
+ UINT, // WM_TIMER message
+ UINT_PTR, // timer identifier
+ DWORD // current system time
)
{
if (frame_id != -1 && ServiceExists(MS_CLIST_FRAMES_ADDFRAME))