diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-18 16:08:31 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-18 16:08:31 +0000 |
commit | aa3b920ca75a9132ca23fc8fcd3bd81ba5ee1eeb (patch) | |
tree | 01cbb9686593ac8683d6214882c1939e69689ae8 /protocols/IcqOscarJ | |
parent | 774574b6ccdfb7b87e5d5a97ad42e887109b1725 (diff) |
unneeded assignment removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11515 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_proto.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp index 7860b1190c..330ff5235f 100644 --- a/protocols/IcqOscarJ/src/icq_proto.cpp +++ b/protocols/IcqOscarJ/src/icq_proto.cpp @@ -1341,7 +1341,6 @@ int __cdecl CIcqProto::SendMsg(MCONTACT hContact, int flags, const char* pszSrc) DWORD dwCookie;
char* puszText = NULL;
int bNeedFreeU = 0;
- cookie_message_data *pCookieData = NULL;
// Invalid contact
DWORD dwUin;
@@ -1396,7 +1395,7 @@ int __cdecl CIcqProto::SendMsg(MCONTACT hContact, int flags, const char* pszSrc) }
// Set up the ack type
- pCookieData = CreateMessageCookieData(MTYPE_PLAIN, hContact, dwUin, TRUE);
+ cookie_message_data *pCookieData = CreateMessageCookieData(MTYPE_PLAIN, hContact, dwUin, TRUE);
pCookieData->nAckType = ACKTYPE_CLIENT;
dwCookie = icq_SendDirectMessage(hContact, dc_msg, mir_strlen(dc_msg), pCookieData, dc_cap);
@@ -1444,7 +1443,7 @@ int __cdecl CIcqProto::SendMsg(MCONTACT hContact, int flags, const char* pszSrc) return dwCookie;
}
- pCookieData = CreateMessageCookieData(MTYPE_PLAIN, hContact, dwUin, FALSE);
+ cookie_message_data *pCookieData = CreateMessageCookieData(MTYPE_PLAIN, hContact, dwUin, FALSE);
if (plain_ascii)
dwCookie = icq_SendChannel1Message(dwUin, szUID, hContact, puszText, pCookieData);
|