Add [[maybe_unused]] to silence unhelpful warnings

This commit is contained in:
2021-10-25 17:56:37 +02:00
джерело 0aa4bca6cc
коміт 6304554358
13 змінених файлів з 39 додано та 38 видалено

@@ -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?
}