mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-27 02:11:27 -05:00
Remove more cruft
This commit is contained in:
parent
30e40470e2
commit
bb7cfc6387
@ -225,18 +225,14 @@ class PQInterface: public RateInterface
|
|||||||
/**
|
/**
|
||||||
* also there are tick + person id functions.
|
* also there are tick + person id functions.
|
||||||
*/
|
*/
|
||||||
virtual int tick() { return 0; }
|
virtual int tick() { return 0; }
|
||||||
virtual int status() { return 0; }
|
virtual int status() { return 0; }
|
||||||
virtual const RsPeerId& PeerId() { return peerId; }
|
virtual const RsPeerId& PeerId() { return peerId; }
|
||||||
|
|
||||||
// the callback from NetInterface Connection Events.
|
// the callback from NetInterface Connection Events.
|
||||||
virtual int notifyEvent(NetInterface *ni, int event, const struct sockaddr_storage &remote_peer_address)
|
virtual int notifyEvent(NetInterface * /*ni*/, int /*event*/,
|
||||||
{
|
const sockaddr_storage & /*remote_peer_address*/)
|
||||||
(void) ni; /* remove unused parameter warnings */
|
{ return 0; }
|
||||||
(void) event; /* remove unused parameter warnings */
|
|
||||||
(void) remote_peer_address;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user