forked from premiere/premiere-libtorrent
fixed some compiler warnings
This commit is contained in:
parent
84ba8445cf
commit
4b52b57bf0
|
@ -100,7 +100,7 @@ namespace libtorrent
|
|||
namespace dht
|
||||
{
|
||||
struct dht_tracker;
|
||||
};
|
||||
}
|
||||
|
||||
namespace aux
|
||||
{
|
||||
|
|
|
@ -166,7 +166,7 @@ public:
|
|||
}
|
||||
#endif
|
||||
|
||||
endpoint_type remote_endpoint(error_code& ec) const
|
||||
endpoint_type remote_endpoint(error_code& /*ec*/) const
|
||||
{
|
||||
return m_remote_endpoint;
|
||||
}
|
||||
|
|
|
@ -120,8 +120,8 @@ namespace libtorrent
|
|||
virtual ~request_callback() {}
|
||||
virtual void tracker_warning(tracker_request const& req
|
||||
, std::string const& msg) = 0;
|
||||
virtual void tracker_scrape_response(tracker_request const& req
|
||||
, int complete, int incomplete, int downloads) {}
|
||||
virtual void tracker_scrape_response(tracker_request const& /*req*/
|
||||
, int /*complete*/, int /*incomplete*/, int /*downloads*/) {}
|
||||
virtual void tracker_response(
|
||||
tracker_request const& req
|
||||
, address const& tracker_ip
|
||||
|
|
Loading…
Reference in New Issue