summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_services.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-14 17:42:39 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-14 17:42:39 +0000
commitf942a0a8f658c92c2597272d0af5e8d364426a3b (patch)
treebca3489c893e353d3fad2cafa335f6eaf583d918 /plugins/Dropbox/src/dropbox_services.cpp
parentd5f98458e06b9aee5522dc9475b5676e6fd14317 (diff)
Dropbox: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11419 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_services.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox_services.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Dropbox/src/dropbox_services.cpp b/plugins/Dropbox/src/dropbox_services.cpp
index d3577920e8..6842e76989 100644
--- a/plugins/Dropbox/src/dropbox_services.cpp
+++ b/plugins/Dropbox/src/dropbox_services.cpp
@@ -10,7 +10,7 @@ HANDLE CDropbox::CreateProtoServiceFunctionObj(const char *szService, MIRANDASER
INT_PTR CDropbox::ProtoGetCaps(WPARAM wParam, LPARAM)
{
- switch(wParam)
+ switch (wParam)
{
case PFLAGNUM_1:
return PF1_IM | PF1_FILESEND;
@@ -78,7 +78,7 @@ INT_PTR CDropbox::ProtoSendFile(void *obj, WPARAM, LPARAM lParam)
ftp->pfts.wszWorkingDir = (wchar_t*)mir_alloc(sizeof(wchar_t) * (length + 1));
mir_tstrncpy(ftp->pfts.wszWorkingDir, paths[j], length + 1);
ftp->pfts.wszWorkingDir[length] = '\0';
-
+
}
ftp->pfts.pwszFiles[k] = mir_wstrdup(paths[i]);
@@ -172,10 +172,8 @@ INT_PTR CDropbox::ProtoSendMessage(void *obj, WPARAM, LPARAM lParam)
return 0;
}
-INT_PTR CDropbox::ProtoReceiveMessage(void *obj, WPARAM, LPARAM lParam)
+INT_PTR CDropbox::ProtoReceiveMessage(void *, WPARAM, LPARAM lParam)
{
- CDropbox *instance = (CDropbox*)obj;
-
CCSDATA *pccsd = (CCSDATA*)lParam;
char *message = (char*)pccsd->lParam;