From 4be79b163029aae7f322bd9699bb8855a96e0547 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 23 Oct 2007 20:09:58 +0000 Subject: Pedantic safe git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8317 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspsocket.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/inspsocket.cpp') diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index f29f23351..d05418472 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -528,7 +528,7 @@ bool BufferedSocket::FlushWriteBuffer() return (fd < 0); } -void SocketTimeout::Tick(time_t now) +void SocketTimeout::Tick(time_t) { if (ServerInstance->SE->GetRef(this->sfd) != this->sock) return; @@ -666,9 +666,9 @@ int BufferedSocket::GetFd() } bool BufferedSocket::OnConnected() { return true; } -void BufferedSocket::OnError(BufferedSocketError e) { return; } +void BufferedSocket::OnError(BufferedSocketError) { return; } int BufferedSocket::OnDisconnect() { return 0; } -int BufferedSocket::OnIncomingConnection(int newfd, char* ip) { return 0; } +int BufferedSocket::OnIncomingConnection(int, char*) { return 0; } bool BufferedSocket::OnDataReady() { return true; } bool BufferedSocket::OnWriteReady() { return true; } void BufferedSocket::OnTimeout() { return; } -- cgit v1.3.1-10-gc9f91