From be086bf8ca69a02fedbdfed65013da64b97b6b54 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 24 Jul 2019 18:58:40 +0300 Subject: unused code removed --- protocols/Facebook/src/mqtt.cpp | 1 - protocols/MSN/src/stdafx.h | 5 ----- 2 files changed, 6 deletions(-) diff --git a/protocols/Facebook/src/mqtt.cpp b/protocols/Facebook/src/mqtt.cpp index a5aed4584f..2b9449a744 100644 --- a/protocols/Facebook/src/mqtt.cpp +++ b/protocols/Facebook/src/mqtt.cpp @@ -156,7 +156,6 @@ void MqttMessage::writeStr(const char *str) bool FacebookProto::MqttConnect() { NETLIBOPENCONNECTION nloc = {}; - nloc.cbSize = sizeof(nloc); nloc.szHost = "mqtt.facebook.com"; nloc.wPort = 443; m_mqttConn = Netlib_OpenConnection(m_hNetlibUser, &nloc); diff --git a/protocols/MSN/src/stdafx.h b/protocols/MSN/src/stdafx.h index 9340fe47c1..ec8306976e 100644 --- a/protocols/MSN/src/stdafx.h +++ b/protocols/MSN/src/stdafx.h @@ -522,11 +522,6 @@ struct ThreadData #define MSN_TYPEID_BKGNDIMG 5 #define MSN_TYPEID_WINK 8 - - -inline bool IsChatHandle(MCONTACT hContact) { return (INT_PTR)hContact < 0; } - - ///////////////////////////////////////////////////////////////////////////////////////// // Message queue -- cgit v1.2.3