removed useless asserts that triggered warnings on intel

This commit is contained in:
Arvid Norberg 2007-10-09 02:34:05 +00:00
parent ffe2e75882
commit ddc9511bbb
1 changed files with 0 additions and 2 deletions

View File

@ -1732,7 +1732,6 @@ namespace libtorrent
++i->writing;
info.state = block_info::state_writing;
if (info.num_peers > 0) --info.num_peers;
TORRENT_ASSERT(info.num_peers >= 0);
if (i->requested == 0)
{
@ -1855,7 +1854,6 @@ namespace libtorrent
block_info& info = i->info[block.block_index];
--info.num_peers;
TORRENT_ASSERT(info.num_peers >= 0);
if (info.num_peers > 0) return;
if (i->info[block.block_index].state == block_info::state_finished