Fix -wreturn-type warnings

This commit is contained in:
2021-10-25 18:13:25 +02:00
parent ed61003636
commit 017932e673
4 changed files with 8 additions and 9 deletions

View File

@ -75,10 +75,7 @@ std::pair<bool, std::string> CLIHandler::user_change_pw([[maybe_unused]] const s
userDao->save(*user);
}
else
{
return {false, "User not found"};
}
return {false, "User not found"};
}
std::pair<bool, std::string> CLIHandler::user_rename([[maybe_unused]] const std::vector<std::string> &args)