From f49d79b1f19b82471e285358fe204b652e86cbf7 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 3 May 2012 03:22:19 +0000 Subject: [PATCH] remove unused variable --- src/instantiate_connection.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/instantiate_connection.cpp b/src/instantiate_connection.cpp index 572c5aaf5..3b93d08d8 100644 --- a/src/instantiate_connection.cpp +++ b/src/instantiate_connection.cpp @@ -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 >(ios, ssl_context); - str = &s.get >()->next_layer(); } else #endif { s.instantiate(ios); - str = s.get(); } } else if (ps.type == proxy_settings::http