Fix compiler warning
card-iasecc.c: In function 'iasecc_select_file': card-iasecc.c:647: warning: declaration of 'rv' shadows a previous local card-iasecc.c:635: warning: shadowed declaration is here git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5265 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
161678d8a6
commit
0e6b87b135
|
@ -644,7 +644,6 @@ iasecc_select_file(struct sc_card *card, const struct sc_path *path,
|
||||||
sc_print_cache(card);
|
sc_print_cache(card);
|
||||||
if (lpath.len >= 2 && lpath.value[0] == 0x3F && lpath.value[1] == 0x00) {
|
if (lpath.len >= 2 && lpath.value[0] == 0x3F && lpath.value[1] == 0x00) {
|
||||||
struct sc_path mfpath;
|
struct sc_path mfpath;
|
||||||
int rv;
|
|
||||||
|
|
||||||
memset(&mfpath, 0, sizeof(struct sc_path));
|
memset(&mfpath, 0, sizeof(struct sc_path));
|
||||||
sc_log(ctx, "EF.ATR(aid:'%s')", card->ef_atr ? sc_dump_hex(card->ef_atr->aid.value, card->ef_atr->aid.len) : "");
|
sc_log(ctx, "EF.ATR(aid:'%s')", card->ef_atr ? sc_dump_hex(card->ef_atr->aid.value, card->ef_atr->aid.len) : "");
|
||||||
|
|
Loading…
Reference in New Issue