fix warnings
This commit is contained in:
parent
91df5d1894
commit
71c7956645
|
@ -5731,7 +5731,7 @@ namespace libtorrent
|
|||
return false;
|
||||
}
|
||||
TORRENT_ASSERT(m_connections.find(p) == m_connections.end());
|
||||
m_connections.insert(p).first;
|
||||
m_connections.insert(p);
|
||||
#ifdef TORRENT_DEBUG
|
||||
error_code ec;
|
||||
TORRENT_ASSERT(p->remote() == p->get_socket()->remote_endpoint(ec) || ec);
|
||||
|
|
|
@ -225,8 +225,6 @@ namespace libtorrent
|
|||
return utp_incoming_packet(m_last_socket, p, size, ep, receive_time);
|
||||
}
|
||||
|
||||
socket_map_t::iterator i = m_utp_sockets.find(id);
|
||||
|
||||
std::pair<socket_map_t::iterator, socket_map_t::iterator> r =
|
||||
m_utp_sockets.equal_range(id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue