initialize with NULL, so the later check for NULL will work.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2928 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2006-05-01 10:16:48 +00:00
parent b507ee68e4
commit 56082ee3a0
1 changed files with 1 additions and 1 deletions

View File

@ -1260,7 +1260,7 @@ do_change_attributes(struct sc_profile *profile, unsigned int opt_type)
{
int r = 0;
sc_pkcs15_id_t id;
sc_pkcs15_object_t *obj;
sc_pkcs15_object_t *obj = NULL;
if (opt_objectid == NULL) {
printf("You have to specify the --id of the object\n");