removed dead code

This commit is contained in:
Arvid Norberg 2009-05-27 16:49:28 +00:00
parent 2466789baa
commit e744174f9a
1 changed files with 0 additions and 5 deletions

View File

@ -1654,7 +1654,6 @@ namespace aux {
> bind(&torrent::seed_rank, _2, boost::ref(m_settings)));
}
int total_running = 0;
for (std::vector<torrent*>::iterator i = downloaders.begin()
, end(downloaders.end()); i != end; ++i)
{
@ -1663,14 +1662,12 @@ namespace aux {
&& hard_limit > 0)
{
--hard_limit;
++total_running;
continue;
}
if (num_downloaders > 0 && hard_limit > 0)
{
--hard_limit;
++total_running;
--num_downloaders;
if (t->is_paused()) t->resume();
}
@ -1688,7 +1685,6 @@ namespace aux {
&& hard_limit > 0)
{
--hard_limit;
++total_running;
continue;
}
@ -1696,7 +1692,6 @@ namespace aux {
{
--hard_limit;
--num_seeds;
++total_running;
if (t->is_paused()) t->resume();
}
else