From aa3b920ca75a9132ca23fc8fcd3bd81ba5ee1eeb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 18 Dec 2014 16:08:31 +0000 Subject: unneeded assignment removed git-svn-id: http://svn.miranda-ng.org/main/trunk@11515 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/icq_proto.cpp | 5 ++--- 1 file 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); -- cgit v1.2.3