mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Obnoxious -pedantic warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8344 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
fa04fb00cf
commit
5b329bf110
@ -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&)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user