remove unused variable

This commit is contained in:
Arvid Norberg 2012-05-03 03:22:19 +00:00
parent bc34b13366
commit f49d79b1f1
1 changed files with 0 additions and 3 deletions

View File

@ -76,18 +76,15 @@ namespace libtorrent
else if (ps.type == proxy_settings::none
|| (peer_connection && !ps.proxy_peer_connections))
{
stream_socket* str;
#ifdef TORRENT_USE_OPENSSL
if (ssl_context)
{
s.instantiate<ssl_stream<stream_socket> >(ios, ssl_context);
str = &s.get<ssl_stream<stream_socket> >()->next_layer();
}
else
#endif
{
s.instantiate<stream_socket>(ios);
str = s.get<stream_socket>();
}
}
else if (ps.type == proxy_settings::http