coolkey: Drop dead code (CID 351911)

default branch of the switch calls continue, preventing
going out of the loop without obj_info set.
This commit is contained in:
Jakub Jelen 2020-04-24 10:30:25 +02:00 committed by Frank Morgner
parent 295f399304
commit d1457e9fa3
1 changed files with 0 additions and 3 deletions

View File

@ -670,9 +670,6 @@ static int sc_pkcs15emu_coolkey_init(sc_pkcs15_card_t *p15card)
sc_log(card->ctx, "Unknown object type %lu, skipping", obj_class);
continue;
}
if (obj_info == NULL) {
continue;
}
r = sc_pkcs15emu_object_add(p15card, obj_type, &obj_obj, obj_info);
if (r != SC_SUCCESS)