Fixes dependency on uninitialized data

This commit is contained in:
Frank Morgner 2015-09-17 21:16:05 +02:00
parent 07038225a7
commit e4bce1ca61
1 changed files with 1 additions and 1 deletions

View File

@ -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;