summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src/init.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-11 15:39:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-11 15:39:23 +0000
commit2548065ebc5da2a8778cd4f49343b847773ee174 (patch)
tree642d6b05a1ada0df9803ddf55faa3e709920afef /plugins/StopSpamMod/src/init.cpp
parenteb031473db62a4fac910f7cb2d13765a753df92d (diff)
'unreferenced formal parameter' warnings fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamMod/src/init.cpp')
-rwxr-xr-xplugins/StopSpamMod/src/init.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/StopSpamMod/src/init.cpp b/plugins/StopSpamMod/src/init.cpp
index 78aeea2420..d7c9193380 100755
--- a/plugins/StopSpamMod/src/init.cpp
+++ b/plugins/StopSpamMod/src/init.cpp
@@ -112,7 +112,7 @@ void InitVars()
}
-static int OnSystemModulesLoaded(WPARAM wParam,LPARAM lParam)
+static int OnSystemModulesLoaded(WPARAM, LPARAM)
{
/* if (ServiceExists(MS_DOS_SERVICE))
gbDosServiceExist = TRUE; */
@@ -121,7 +121,7 @@ static int OnSystemModulesLoaded(WPARAM wParam,LPARAM lParam)
InitVars();
void CleanThread();
if(gbDelAllTempory || gbDelExcluded)
- boost::thread *thr = new boost::thread(&CleanThread);
+ new boost::thread(&CleanThread);
// Folders plugin support
hStopSpamLogDirH = FoldersRegisterCustomPathT(LPGEN("StopSpam"), LPGEN("StopSpam Logs"), FOLDER_LOGS);
@@ -131,7 +131,7 @@ static int OnSystemModulesLoaded(WPARAM wParam,LPARAM lParam)
HANDLE hEventFilter = 0, hOptInitialise = 0, hSettingChanged = 0;
-BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{
hInst = hinstDLL;
return TRUE;