diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-08-03 18:39:29 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-08-03 18:39:29 +0200 |
commit | d74e5245a29c700cc788f94bcadf4ab62bb606cc (patch) | |
tree | 1d72120f09a7db326d1e4045ef515df3bda895bb /src/Client | |
parent | fdd7fbae926821be7d5229d5cba04396e6f00f99 (diff) | |
download | mad-d74e5245a29c700cc788f94bcadf4ab62bb606cc.tar mad-d74e5245a29c700cc788f94bcadf4ab62bb606cc.zip |
_UNUSED_PARAMETER_ entfernt
Namen unbenutzte Parameter auskommentieren
Diffstat (limited to 'src/Client')
-rw-r--r-- | src/Client/CommandParser.cpp | 4 | ||||
-rw-r--r-- | src/Client/UserCommands.cpp | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/src/Client/CommandParser.cpp b/src/Client/CommandParser.cpp index b81d6df..838c831 100644 --- a/src/Client/CommandParser.cpp +++ b/src/Client/CommandParser.cpp @@ -17,8 +17,6 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <config.h> - #include "CommandParser.h" #include "Application.h" #include "InformationManager.h" @@ -194,7 +192,7 @@ void CommandParser::listHostsCommand(const std::vector<std::string> &args) { } } -void CommandParser::exitCommand(const std::vector<std::string> &args _UNUSED_PARAMETER_) { +void CommandParser::exitCommand(const std::vector<std::string> &/*args*/) { boost::shared_ptr<Common::Requests::DisconnectRequest> request(new Common::Requests::DisconnectRequest(application)); application->getRequestManager()->sendRequest(connection, request); diff --git a/src/Client/UserCommands.cpp b/src/Client/UserCommands.cpp index ab6449e..43131c7 100644 --- a/src/Client/UserCommands.cpp +++ b/src/Client/UserCommands.cpp @@ -17,8 +17,6 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <config.h> - #include "UserCommands.h" #include "Application.h" #include "CommandParser.h" @@ -71,7 +69,7 @@ std::string UserCommands::getGroupName(CommandParser *commandParser, unsigned lo return stream.str(); } -void UserCommands::listUsersCommand(CommandParser *commandParser, const std::vector<std::string> &args _UNUSED_PARAMETER_) { +void UserCommands::listUsersCommand(CommandParser *commandParser, const std::vector<std::string> &/*args*/) { try { boost::shared_ptr<const std::map<unsigned long, Common::UserInfo> > users = commandParser->application->getUserManager()->getUserList(); @@ -138,7 +136,7 @@ void UserCommands::userInfoCommand(CommandParser *commandParser, const std::vect } } -void UserCommands::listGroupsCommand(CommandParser *commandParser, const std::vector<std::string> &args _UNUSED_PARAMETER_) { +void UserCommands::listGroupsCommand(CommandParser *commandParser, const std::vector<std::string> &/*args*/) { try { boost::shared_ptr<const std::map<unsigned long, Common::GroupInfo> > groups = commandParser->application->getUserManager()->getGroupList(); |