forked from premiere/premiere-libtorrent
minor code cleanup (#1116)
This commit is contained in:
parent
acf77a5385
commit
4d716361c0
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue