remove unused member variables in torrent object

This commit is contained in:
arvidn 2018-08-28 10:20:40 +02:00 committed by Arvid Norberg
parent 7c837be651
commit 2e313de898
2 changed files with 0 additions and 8 deletions

View File

@ -1622,12 +1622,6 @@ namespace libtorrent
// the DHT
bool m_announce_to_dht:1;
// these represent whether or not this torrent is counted
// in the total counters of active seeds and downloads
// in the session.
bool m_is_active_download:1;
bool m_is_active_finished:1;
// even if we're not built to support SSL torrents,
// remember that this is an SSL torrent, so that we don't
// accidentally start seeding it without any authentication.

View File

@ -298,8 +298,6 @@ namespace libtorrent
, m_connect_boost_counter(static_cast<boost::uint8_t>(settings().get_int(settings_pack::torrent_connect_boost)))
, m_incomplete(0xffffff)
, m_announce_to_dht((p.flags & add_torrent_params::flag_paused) == 0)
, m_is_active_download(false)
, m_is_active_finished(false)
, m_ssl_torrent(false)
, m_deleted(false)
, m_pinned((p.flags & add_torrent_params::flag_pinned) != 0)