fix warning

This commit is contained in:
Arvid Norberg 2011-03-13 08:07:33 +00:00
parent 962bb30835
commit be4f593ddf
1 changed files with 1 additions and 2 deletions

View File

@ -2182,8 +2182,7 @@ namespace libtorrent
TORRENT_ASSERT(m_disk_recv_buffer_size == 0);
// we're not receiving any block right now
m_receiving_block.piece_index = -1;
m_receiving_block.block_index = -1;
m_receiving_block = piece_block::invalid;
#ifdef TORRENT_CORRUPT_DATA
// corrupt all pieces from certain peers