summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-18 20:53:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-18 20:53:02 +0300
commite9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f (patch)
treed29207d095a070988af1e1d0866b1f5d46de1fe9 /src/commandhandler.cpp
parent261edddd92ec02c1d278213e730aa30a1fea71d0 (diff)
downloadmv-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.tar.gz
mv-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.tar.bz2
mv-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.tar.xz
mv-e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f.zip
fix compilation warnings.
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 8edea1666..6e1d9ef44 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -110,8 +110,7 @@ void CommandHandler::callFunc(const CommandInfo &info,
inputManager.executeAction(info.actionId);
}
-void CommandHandler::invokeCommand(const int type,
- const bool warn)
+void CommandHandler::invokeCommand(const int type)
{
if (type < 0 || type >= END_COMMANDS)
return;
@@ -119,8 +118,7 @@ void CommandHandler::invokeCommand(const int type,
}
void CommandHandler::invokeCommand(const int type,
- ChatTab *const tab,
- const bool warn)
+ ChatTab *const tab)
{
if (type < 0 || type >= END_COMMANDS)
return;
@@ -128,8 +126,7 @@ void CommandHandler::invokeCommand(const int type,
}
void CommandHandler::invokeCommand(const int type,
- const std::string &args,
- const bool warn)
+ const std::string &args)
{
if (type < 0 || type >= END_COMMANDS)
return;
@@ -138,8 +135,7 @@ void CommandHandler::invokeCommand(const int type,
void CommandHandler::invokeCommand(const int type,
const std::string &args,
- ChatTab *const tab,
- const bool warn)
+ ChatTab *const tab)
{
if (type < 0 || type >= END_COMMANDS)
return;