Remove unused variables
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3827 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
684e9b20ba
commit
1a6f8b7468
|
@ -355,7 +355,7 @@ static int ias_select_file(sc_card_t *card, const sc_path_t *in_path,
|
||||||
u8 buf[SC_MAX_APDU_BUFFER_SIZE];
|
u8 buf[SC_MAX_APDU_BUFFER_SIZE];
|
||||||
u8 pathbuf[SC_MAX_PATH_SIZE], *path;
|
u8 pathbuf[SC_MAX_PATH_SIZE], *path;
|
||||||
sc_context_t *ctx;
|
sc_context_t *ctx;
|
||||||
sc_apdu_t apdu, rapdu;
|
sc_apdu_t apdu;
|
||||||
sc_file_t *file;
|
sc_file_t *file;
|
||||||
|
|
||||||
r = pathlen = stripped_len = offset = 0;
|
r = pathlen = stripped_len = offset = 0;
|
||||||
|
@ -454,7 +454,6 @@ static int ias_select_file(sc_card_t *card, const sc_path_t *in_path,
|
||||||
if (stripped_len > 0 && apdu.sw1 == 0x6A && apdu.sw2 == 0x82) {
|
if (stripped_len > 0 && apdu.sw1 == 0x6A && apdu.sw2 == 0x82) {
|
||||||
sc_file_t *file = NULL;
|
sc_file_t *file = NULL;
|
||||||
sc_path_t tpath;
|
sc_path_t tpath;
|
||||||
int i;
|
|
||||||
|
|
||||||
/* Restore original path value */
|
/* Restore original path value */
|
||||||
path -= stripped_len;
|
path -= stripped_len;
|
||||||
|
|
Loading…
Reference in New Issue