diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 19:48:28 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 19:48:28 +0000 |
commit | 7a10fd1b5c08a967648371a9e70c611243454c9d (patch) | |
tree | 886f607c3a8c823e4fc2d2017a441b11a415cfa5 | |
parent | d3c7457dda8555e410f4fbc36bb1b1b4cb0ae3f2 (diff) |
Pedantic safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8315 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/dns.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index c1f7758b0..28ceac689 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -119,7 +119,7 @@ class CacheTimer : public Timer CacheTimer(InspIRCd* Instance, DNS* thisdns) : Timer(3600, Instance->Time(), true), ServerInstance(Instance), dns(thisdns) { } - virtual void Tick(time_t TIME) + virtual void Tick(time_t) { dns->PruneCache(); } @@ -135,7 +135,7 @@ class RequestTimeout : public Timer { } - void Tick(time_t TIME) + void Tick(time_t) { if (ServerInstance->Res->requests[watchid] == watch) { @@ -1020,7 +1020,7 @@ Resolver::Resolver(InspIRCd* Instance, const std::string &source, QueryType qt, } /** Called when an error occurs */ -void Resolver::OnError(ResolverError e, const std::string &errormessage) +void Resolver::OnError(ResolverError, const std::string&) { /* Nothing in here */ } @@ -1043,7 +1043,7 @@ Module* Resolver::GetCreator() } /** Process a socket read event */ -void DNS::HandleEvent(EventType et, int errornum) +void DNS::HandleEvent(EventType, int) { /* Fetch the id and result of the next available packet */ int resultnum = 0; |