summaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 20:09:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 20:09:58 +0000
commit4be79b163029aae7f322bd9699bb8855a96e0547 (patch)
tree28511617491d9e64076f216f4fd3a09b4c374a07 /src/inspsocket.cpp
parent08e3151057f9e9e2d03a2c5858c5a83335f378fd (diff)
Pedantic safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8317 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp6
1 files changed, 3 insertions, 3 deletions
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; }