diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-14 19:26:22 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-14 19:26:22 +0000 |
commit | b47323e12660e2e96dac515f609f0778225a4536 (patch) | |
tree | 86f1c149af616d247e293576c18176e9bae02d8a /protocols/IcqOscarJ/src/oscar_filetransfer.cpp | |
parent | 967c43ea2061ddd25e69927780e534ac93ce576a (diff) |
ICQ: warning level 4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11421 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/oscar_filetransfer.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/oscar_filetransfer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/oscar_filetransfer.cpp b/protocols/IcqOscarJ/src/oscar_filetransfer.cpp index 455b45ef4e..727c279d2c 100644 --- a/protocols/IcqOscarJ/src/oscar_filetransfer.cpp +++ b/protocols/IcqOscarJ/src/oscar_filetransfer.cpp @@ -251,7 +251,6 @@ DWORD oft_calc_checksum(int offset, const BYTE *buffer, int len, DWORD dwChecksu for (int i = 0; i < len; i++) {
WORD val = buffer[i];
- DWORD oldchecksum = checksum;
if (((i + offset) & 1) == 0)
val = val << 8;
@@ -696,7 +695,7 @@ static void oft_newConnectionReceived(HANDLE hNewConnection, DWORD dwRemoteIP, v static char* oftGetFileContainer(oscar_filetransfer* oft, const char** files, int iFile)
{
char szPath[MAX_PATH];
- char* szFileName = FindFilePathContainer(files, iFile, szPath);
+ FindFilePathContainer(files, iFile, szPath);
char *szPathUtf = ansi_to_utf8(szPath);
int i;
@@ -887,7 +886,7 @@ HANDLE CIcqProto::oftFileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR return hTransfer; // Success
}
-DWORD CIcqProto::oftFileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szReason)
+DWORD CIcqProto::oftFileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR*)
{
oscar_filetransfer *ft = (oscar_filetransfer*)hTransfer;
DWORD dwUin;
|