rutoken_new_file(): initialize sec_attr
pkcs15-rutoken.c:372: warning: 'sec_attr' may be used uninitialized in this function git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3499 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
0b239489fc
commit
63b55ea0aa
|
@ -369,7 +369,7 @@ rutoken_new_file(struct sc_profile *profile, struct sc_card *card,
|
|||
{
|
||||
int ret = SC_SUCCESS, id, ret_s;
|
||||
sc_path_t path;
|
||||
u8 const *sec_attr;
|
||||
u8 const *sec_attr = NULL;
|
||||
|
||||
if (!profile || !file || *file != NULL
|
||||
|| !card || !card->ctx || !card->ops
|
||||
|
|
Loading…
Reference in New Issue