minor code cleanup (#1116)

This commit is contained in:
Arvid Norberg 2016-09-20 22:10:06 -07:00 committed by GitHub
parent acf77a5385
commit 4d716361c0
2 changed files with 1 additions and 3 deletions

View File

@ -8272,8 +8272,7 @@ namespace libtorrent
else if (m_state == torrent_status::downloading_metadata
|| m_state == torrent_status::downloading
|| m_state == torrent_status::finished
|| m_state == torrent_status::seeding
|| m_state == torrent_status::downloading)
|| m_state == torrent_status::seeding)
{
// torrents that are started (not paused) and
// inactive are not part of any list. They will not be touched because

View File

@ -619,7 +619,6 @@ namespace libtorrent
return true;
}
std::vector<peer_entry> peer_list;
resp.peers4.reserve(num_peers);
for (int i = 0; i < num_peers; ++i)
{