summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src/init.cpp
diff options
context:
space:
mode:
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;