Fixes dependency on uninitialized data
This commit is contained in:
parent
07038225a7
commit
e4bce1ca61
|
@ -409,7 +409,7 @@ static int
|
|||
cardos_delete_object(sc_profile_t *profile, struct sc_pkcs15_card *p15card,
|
||||
struct sc_pkcs15_object *obj, const struct sc_path *path)
|
||||
{
|
||||
int r, stored_in_ef = 0, algorithm = 0;
|
||||
int r = SC_SUCCESS, stored_in_ef = 0, algorithm = 0;
|
||||
size_t keybits;
|
||||
sc_file_t *file = NULL;
|
||||
struct sc_pkcs15_prkey_info *key_info;
|
||||
|
|
Loading…
Reference in New Issue