- Warning fix
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1690 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
78febf36cf
commit
e18b7117cd
@ -130,10 +130,10 @@ cryptoflex_init_card(sc_profile_t *profile, sc_card_t *card)
|
||||
sc_file_t *file;
|
||||
u8 buf[32], serial[128];
|
||||
size_t len;
|
||||
int r, i;
|
||||
int r;
|
||||
|
||||
sc_format_path("3F000002", &path);
|
||||
if (sc_select_file(card, &path, &file) < 0) {
|
||||
if ((r = sc_select_file(card, &path, &file)) < 0) {
|
||||
if (r == SC_ERROR_FILE_NOT_FOUND)
|
||||
return 0;
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user