Add [[maybe_unused]] to silence unhelpful warnings
This commit is contained in:
@@ -116,7 +116,7 @@ std::vector<User> UserDaoSqlite::list(QueryOption o)
|
||||
return result;
|
||||
}
|
||||
|
||||
void UserDaoSqlite::deleteUser(std::string username)
|
||||
void UserDaoSqlite::deleteUser([[maybe_unused]] std::string username)
|
||||
{
|
||||
// What to do with the contributions of the user?
|
||||
}
|
||||
|
Посилання в новій задачі
Block a user