Fix warning.

GitOrigin-RevId: 4eab0bc2fc97a7c538f54b1935fe830883e29f69
This commit is contained in:
levlam 2019-12-02 03:26:52 +03:00
parent b13213f9cb
commit 7b53d64492

View File

@ -97,7 +97,7 @@ void AuthManager::DbState::parse(ParserT &parser) {
PARSE_FLAG(is_wait_registration_stores_phone_number);
END_PARSE_FLAGS();
}
if (!is_wait_registration_stores_phone_number) {
if (!is_wait_registration_supported || !is_wait_registration_stores_phone_number) {
return parser.set_error("Have no wait registration support");
}
CHECK(is_pbkdf2_supported);