commented unused parameters out
This commit is contained in:
parent
3aad16d425
commit
c6175d82e5
1 changed files with 4 additions and 4 deletions
|
@ -47,11 +47,11 @@ fuh::~fuh() {
|
|||
mysql_close(conn);
|
||||
}
|
||||
|
||||
void fuh::add_user(const std::string& name, const std::string& mail, const std::string& password) {
|
||||
void fuh::add_user(const std::string& /*name*/, const std::string& /*mail*/, const std::string& /*password*/) {
|
||||
throw error("For now please register at http://forum.wesnoth.org");
|
||||
}
|
||||
|
||||
void fuh::remove_user(const std::string& name) {
|
||||
void fuh::remove_user(const std::string& /*name*/) {
|
||||
throw error("'Dropping your nick is currently impossible");
|
||||
}
|
||||
|
||||
|
@ -143,7 +143,7 @@ void fuh::set_is_moderator(const std::string& name, const bool& is_moderator) {
|
|||
}
|
||||
}
|
||||
|
||||
void fuh::password_reminder(const std::string& name) {
|
||||
void fuh::password_reminder(const std::string& /*name*/) {
|
||||
throw error("For now please use the password recovery "
|
||||
"function provided at http://forum.wesnoth.org");
|
||||
}
|
||||
|
@ -167,7 +167,7 @@ std::string fuh::user_info(const std::string& name) {
|
|||
return info.str();
|
||||
}
|
||||
|
||||
void fuh::set_user_detail(const std::string& user, const std::string& detail, const std::string& value) {
|
||||
void fuh::set_user_detail(const std::string& /*user*/, const std::string& /*detail*/, const std::string& /*value*/) {
|
||||
throw error("For now this is a 'read-only' user_handler");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue