init in methods local var

This commit is contained in:
zxkmm 2024-09-29 21:28:36 +08:00
parent 44c49b9bb9
commit 14ef1332aa

View File

@ -212,8 +212,8 @@ void RandomPasswordView::set_random_freq() {
void RandomPasswordView::new_password() {
password = "";
std::string charset;
std::string char_type_hints;
std::string charset = "";
std::string char_type_hints = "";
if (check_digits.value())
charset += "0123456789";