diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-24 15:51:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-24 15:51:08 +0000 |
commit | 5b329bf110e03c75141a2e21320ee8c250a67b46 (patch) | |
tree | 01ec31e66052df7527428393bb1a00f1ec33d90e /include | |
parent | fa04fb00cf96c8af5045de576b146b3a09f9b2ed (diff) |
Obnoxious -pedantic warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8344 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/u_listmode.h | 16 |
1 files changed, 8 insertions, 8 deletions
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<bool,std::string> ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter) + std::pair<bool,std::string> 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&) { } }; |