summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM
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/FTPFileYM
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/FTPFileYM')
-rw-r--r--plugins/FTPFileYM/src/deletetimer.cpp2
-rw-r--r--plugins/FTPFileYM/src/ftpfile.cpp14
-rw-r--r--plugins/FTPFileYM/src/job_packer.cpp2
-rw-r--r--plugins/FTPFileYM/src/options.cpp2
4 files changed, 10 insertions, 10 deletions
diff --git a/plugins/FTPFileYM/src/deletetimer.cpp b/plugins/FTPFileYM/src/deletetimer.cpp
index 1ff72c620e..f177ac081e 100644
--- a/plugins/FTPFileYM/src/deletetimer.cpp
+++ b/plugins/FTPFileYM/src/deletetimer.cpp
@@ -51,7 +51,7 @@ void DeleteTimer::stop()
}
}
-void CALLBACK DeleteTimer::AutoDeleteTimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
+void CALLBACK DeleteTimer::AutoDeleteTimerProc(HWND, UINT, UINT_PTR, DWORD)
{
mir_cslock lock(DBEntry::mutexDB);
diff --git a/plugins/FTPFileYM/src/ftpfile.cpp b/plugins/FTPFileYM/src/ftpfile.cpp
index 302a5750dc..b76d70f601 100644
--- a/plugins/FTPFileYM/src/ftpfile.cpp
+++ b/plugins/FTPFileYM/src/ftpfile.cpp
@@ -55,13 +55,13 @@ static PLUGININFOEX pluginInfoEx =
//------------ BASIC STAFF ------------//
-extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+extern "C" 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 &pluginInfoEx;
}
@@ -199,7 +199,7 @@ void InitTabsrmmButton()
//------------ MENU & BUTTON HANDLERS ------------//
-int PrebuildContactMenu(WPARAM wParam, LPARAM lParam)
+int PrebuildContactMenu(WPARAM wParam, LPARAM)
{
bool bIsContact = false;
@@ -333,7 +333,7 @@ int UploadFile(MCONTACT hContact, int iFtpNum, GenericJob::EMode mode)
//------------ MIRANDA SERVICES ------------//
-INT_PTR UploadService(WPARAM wParam, LPARAM lParam)
+INT_PTR UploadService(WPARAM, LPARAM lParam)
{
FTPUPLOAD* ftpu = (FTPUPLOAD *)lParam;
if (ftpu == NULL || ftpu->cbSize != sizeof(FTPUPLOAD))
@@ -346,7 +346,7 @@ INT_PTR UploadService(WPARAM wParam, LPARAM lParam)
return 0;
}
-INT_PTR ShowManagerService(WPARAM wParam, LPARAM lParam)
+INT_PTR ShowManagerService(WPARAM, LPARAM)
{
manDlg = Manager::getInstance();
manDlg->init();
@@ -360,7 +360,7 @@ INT_PTR ContactMenuService(WPARAM hContact, LPARAM lParam)
return UploadFile(hContact, ftpNum, (UploadJob::EMode)mode);
}
-INT_PTR MainMenuService(WPARAM wParam, LPARAM lParam)
+INT_PTR MainMenuService(WPARAM wParam, LPARAM)
{
int ftpNum = wParam & (1|2|4);
int mode = wParam & (UploadJob::FTP_RAWFILE | UploadJob::FTP_ZIPFILE | UploadJob::FTP_ZIPFOLDER);
@@ -382,7 +382,7 @@ int ModulesLoaded(WPARAM, LPARAM)
return 0;
}
-int Shutdown(WPARAM wParam, LPARAM lParam)
+int Shutdown(WPARAM, LPARAM)
{
deleteTimer.deinit();
diff --git a/plugins/FTPFileYM/src/job_packer.cpp b/plugins/FTPFileYM/src/job_packer.cpp
index 47a74c6feb..2d018f7639 100644
--- a/plugins/FTPFileYM/src/job_packer.cpp
+++ b/plugins/FTPFileYM/src/job_packer.cpp
@@ -228,7 +228,7 @@ Cleanup:
return result;
}
-uLong PackerJob::getFileTime(TCHAR *file, tm_zip *tmzip, uLong *dt)
+uLong PackerJob::getFileTime(TCHAR *file, tm_zip*, uLong *dt)
{
FILETIME ftLocal;
HANDLE hFind;
diff --git a/plugins/FTPFileYM/src/options.cpp b/plugins/FTPFileYM/src/options.cpp
index d14684ea02..fa29f361ba 100644
--- a/plugins/FTPFileYM/src/options.cpp
+++ b/plugins/FTPFileYM/src/options.cpp
@@ -244,7 +244,7 @@ INT_PTR CALLBACK Options::DlgProcOptsAdvanced(HWND hwndDlg, UINT msg, WPARAM wPa
return FALSE;
}
-int Options::InitOptions(WPARAM wParam, LPARAM lParam)
+int Options::InitOptions(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 100000000;