From d74e5245a29c700cc788f94bcadf4ab62bb606cc Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 3 Aug 2009 18:39:29 +0200 Subject: _UNUSED_PARAMETER_ entfernt Namen unbenutzte Parameter auskommentieren --- src/Client/CommandParser.cpp | 4 +--- src/Client/UserCommands.cpp | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'src/Client') 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 . */ -#include - #include "CommandParser.h" #include "Application.h" #include "InformationManager.h" @@ -194,7 +192,7 @@ void CommandParser::listHostsCommand(const std::vector &args) { } } -void CommandParser::exitCommand(const std::vector &args _UNUSED_PARAMETER_) { +void CommandParser::exitCommand(const std::vector &/*args*/) { boost::shared_ptr 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 . */ -#include - #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 &args _UNUSED_PARAMETER_) { +void UserCommands::listUsersCommand(CommandParser *commandParser, const std::vector &/*args*/) { try { boost::shared_ptr > 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 &args _UNUSED_PARAMETER_) { +void UserCommands::listGroupsCommand(CommandParser *commandParser, const std::vector &/*args*/) { try { boost::shared_ptr > groups = commandParser->application->getUserManager()->getGroupList(); -- cgit v1.2.3