fixed some compiler warnings

This commit is contained in:
Arvid Norberg 2009-11-11 05:22:57 +00:00
parent 84ba8445cf
commit 4b52b57bf0
3 changed files with 4 additions and 4 deletions

View File

@ -100,7 +100,7 @@ namespace libtorrent
namespace dht
{
struct dht_tracker;
};
}
namespace aux
{

View File

@ -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;
}

View File

@ -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