Skip to content
Snippets Groups Projects
Commit 05fe996d authored by Konstantinos Sideris's avatar Konstantinos Sideris
Browse files

Remove an extra error variable

parent 1ee30506
No related branches found
No related tags found
No related merge requests found
......@@ -249,10 +249,7 @@ mtx::client::Client::create_session(const Callback &callback)
mtx::client::errors::ClientError client_error;
client_error.error_code = ec;
std::experimental::optional<mtx::client::errors::ClientError> error;
error = client_error;
callback(response_data, error);
callback(response_data, client_error);
});
// Set SNI Hostname (many hosts need this to handshake successfully)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment