profile: 'cbs' member of 'struct sc_profile' is not used
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4075 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
abd3a43b3e
commit
dbd315c7e9
|
@ -293,7 +293,6 @@ sc_pkcs15init_bind(sc_card_t *card, const char *name,
|
|||
|
||||
profile = sc_profile_new();
|
||||
profile->card = card;
|
||||
profile->cbs = &callbacks;
|
||||
|
||||
for (i = 0; profile_operations[i].name; i++) {
|
||||
if (!strcasecmp(driver, profile_operations[i].name)) {
|
||||
|
|
|
@ -1023,8 +1023,6 @@ process_tmpl(struct state *cur, struct block *info,
|
|||
return 1;
|
||||
}
|
||||
|
||||
templ->cbs = cur->profile->cbs;
|
||||
|
||||
tinfo = (sc_template_t *) calloc(1, sizeof(*tinfo));
|
||||
if (tinfo == NULL) {
|
||||
parse_error(cur, "memory allocation failed");
|
||||
|
|
|
@ -82,7 +82,6 @@ struct sc_profile {
|
|||
sc_card_t * card;
|
||||
char * driver;
|
||||
struct sc_pkcs15init_operations *ops;
|
||||
struct sc_pkcs15init_callbacks *cbs;
|
||||
void * dll; /* handle for dynamic modules */
|
||||
|
||||
struct file_info * mf_info;
|
||||
|
|
Loading…
Reference in New Issue