Commit c0771e38 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove unused variable

parent 2a2bf3c2
Pipeline #81857 passed with stage
in 3 minutes and 6 seconds
......@@ -281,7 +281,7 @@ void SessionPrivate::socketConnected()
bool useSsl = false;
if (!m_queue.isEmpty()) {
if (auto login = qobject_cast<LoginJob *>(m_queue.first())) {
if (qobject_cast<LoginJob *>(m_queue.first())) {
useSsl = m_encryptionMode == Session::TLS;
}
}
......
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