From 5b329bf110e03c75141a2e21320ee8c250a67b46 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 24 Oct 2007 15:51:08 +0000 Subject: Obnoxious -pedantic warnings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8344 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/u_listmode.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/u_listmode.h b/include/u_listmode.h index 9d78fe64b..002530df4 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -132,7 +132,7 @@ class ListModeBase : public ModeHandler /** See mode.h */ - std::pair ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter) + std::pair ModeSet(User*, User*, Channel* channel, const std::string ¶meter) { modelist* el; channel->GetExt(infokey, el); @@ -206,7 +206,7 @@ class ListModeBase : public ModeHandler /** See mode.h */ - virtual void RemoveMode(User* user) + virtual void RemoveMode(User*) { /* Listmodes dont get set on users */ } @@ -248,7 +248,7 @@ class ListModeBase : public ModeHandler /** Handle the list mode. * See mode.h */ - virtual ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) + virtual ModeAction OnModeChange(User* source, User*, Channel* channel, std::string ¶meter, bool adding) { // Try and grab the list modelist* el; @@ -418,7 +418,7 @@ class ListModeBase : public ModeHandler * @param target_type Type of target to clean * @param item Item to clean */ - virtual void DoCleanup(int target_type, void* item) + virtual void DoCleanup(int, void*) { } @@ -429,7 +429,7 @@ class ListModeBase : public ModeHandler * @param parameter The actual parameter being added * @return true if the parameter is valid */ - virtual bool ValidateParam(User* source, Channel* channel, std::string ¶meter) + virtual bool ValidateParam(User*, Channel*, std::string&) { return true; } @@ -441,7 +441,7 @@ class ListModeBase : public ModeHandler * @param parameter The actual parameter being added * @return Ignored */ - virtual bool TellListTooLong(User* source, Channel* channel, std::string ¶meter) + virtual bool TellListTooLong(User*, Channel*, std::string&) { return false; } @@ -452,7 +452,7 @@ class ListModeBase : public ModeHandler * @param channel Channel the parameter is being added to * @param parameter The actual parameter being added */ - virtual void TellAlreadyOnList(User* source, Channel* channel, std::string ¶meter) + virtual void TellAlreadyOnList(User*, Channel*, std::string&) { } @@ -462,7 +462,7 @@ class ListModeBase : public ModeHandler * @param channel Channel the parameter is being removed from * @param parameter The actual parameter being removed */ - virtual void TellNotSet(User* source, Channel* channel, std::string ¶meter) + virtual void TellNotSet(User*, Channel*, std::string&) { } }; -- cgit v1.2.3