summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-24 18:58:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-24 18:58:46 +0300
commitbe086bf8ca69a02fedbdfed65013da64b97b6b54 (patch)
tree4afe62e14bee19f5288cf0a143a37dfc700b521c
parent3beb5684d8734996c945ef399e3ff87fc214b2f8 (diff)
unused code removed
-rw-r--r--protocols/Facebook/src/mqtt.cpp1
-rw-r--r--protocols/MSN/src/stdafx.h5
2 files changed, 0 insertions, 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