Update core/tests/unit/ldml/ldml_test_source.cpp

Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
Steven R. Loomis 2023-02-18 09:35:17 -06:00 committed by GitHub
parent ce0a488fe0
commit d46f2c3f9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -408,7 +408,6 @@ void LdmlJsonTestSource::set_key_from_id(key_event& k, const std::u16string& id)
auto *key2 = kmxplus->key2Helper.findKeyByStringId(strId, keyIndex);
assert(key2 != nullptr);
if (key2 == nullptr) {
k = {0, 0};
return;
}