diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-18 20:53:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-18 20:53:02 +0300 |
commit | e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f (patch) | |
tree | d29207d095a070988af1e1d0866b1f5d46de1fe9 /src/commandhandler.cpp | |
parent | 261edddd92ec02c1d278213e730aa30a1fea71d0 (diff) | |
download | mv-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.cpp | 12 |
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; |