bool AddTestUser(const char *user_name) {
std::cout << "Adding test user: " << user_name << std::endl;
- bool ret = AddUser(user_name);
+ AddUser(user_name);
if (boost::optional<uid_t> uid = ci::GetUidByUserName(user_name)) {
kTestUserId = *uid;
kTestUserIdStr = std::to_string(kTestUserId);
uid_t test_uid;
if (boost::optional<uid_t> uid = ci::GetUidByUserName(user_name))
test_uid = *uid;
- bool ret = DeleteUser(user_name, true);
+ DeleteUser(user_name, true);
if (!ci::GetUidByUserName(user_name)) {
std::cout << "User deleted properly: user_name=" << user_name
<< " uid=" << test_uid << std::endl;