merged silencing of warnings from RC_0_16

This commit is contained in:
Arvid Norberg
2013-06-14 16:41:47 +00:00
parent f91d83434b
commit 50ecb07d19
11 changed files with 33 additions and 16 deletions

View File

@@ -2008,7 +2008,6 @@ namespace libtorrent
lazy_pieces[lazy_piece++] = i;
}
TORRENT_ASSERT(lazy_piece == num_lazy_pieces);
lazy_piece = 0;
}
const int packet_size = (num_pieces + 7) / 8 + 5;
@@ -3063,7 +3062,7 @@ namespace libtorrent
{
TORRENT_ASSERT(m_sent_handshake);
m_statistics.received_bytes(0, bytes_transferred);
bytes_transferred = 0;
// bytes_transferred = 0;
if (!t)
{
TORRENT_ASSERT(!packet_finished()); // TODO