forked from premiere/premiere-libtorrent
remove unused variable
This commit is contained in:
parent
bc34b13366
commit
f49d79b1f1
|
@ -76,18 +76,15 @@ namespace libtorrent
|
||||||
else if (ps.type == proxy_settings::none
|
else if (ps.type == proxy_settings::none
|
||||||
|| (peer_connection && !ps.proxy_peer_connections))
|
|| (peer_connection && !ps.proxy_peer_connections))
|
||||||
{
|
{
|
||||||
stream_socket* str;
|
|
||||||
#ifdef TORRENT_USE_OPENSSL
|
#ifdef TORRENT_USE_OPENSSL
|
||||||
if (ssl_context)
|
if (ssl_context)
|
||||||
{
|
{
|
||||||
s.instantiate<ssl_stream<stream_socket> >(ios, ssl_context);
|
s.instantiate<ssl_stream<stream_socket> >(ios, ssl_context);
|
||||||
str = &s.get<ssl_stream<stream_socket> >()->next_layer();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
s.instantiate<stream_socket>(ios);
|
s.instantiate<stream_socket>(ios);
|
||||||
str = s.get<stream_socket>();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ps.type == proxy_settings::http
|
else if (ps.type == proxy_settings::http
|
||||||
|
|
Loading…
Reference in New Issue