From e9c0ad590dc46f70e0ab8f48b4fa3c0532314d7f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 18 May 2013 20:53:02 +0300 Subject: fix compilation warnings. --- src/commandhandler.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/commandhandler.cpp') 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; -- cgit v1.2.3-70-g09d2