Commit 6a43fdfe authored by Nicolas Fella's avatar Nicolas Fella

Remove unused

parent 39973812
Pipeline #3085 failed with stage
in 6 minutes and 48 seconds
......@@ -257,10 +257,6 @@ void LanLinkProvider::tcpSocketConnected()
// If socket disconnects due to any reason after connection, link on ssl failure
connect(socket, &QAbstractSocket::disconnected, socket, &QObject::deleteLater);
NetworkPacket* receivedPacket = m_receivedIdentityPackets[socket].np;
const QString& deviceId = receivedPacket->get<QString>(QStringLiteral("deviceId"));
//qCDebug(KDECONNECT_CORE) << "tcpSocketConnected" << socket->isWritable();
delete m_receivedIdentityPackets.take(socket).np;
//We don't delete the socket because now it's owned by the LanDeviceLink
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment