fixed unused check
This commit is contained in:
parent
1565f48084
commit
4916d07ff2
|
@ -697,8 +697,7 @@ static int starcos_select_file(sc_card_t *card,
|
|||
SC_FUNC_RETURN(card->ctx, SC_LOG_DEBUG_VERBOSE, SC_ERROR_INVALID_ARGUMENTS);
|
||||
|
||||
if (card->type != SC_CARD_TYPE_STARCOS_V3_4
|
||||
|| card->type == SC_CARD_TYPE_STARCOS_V3_5
|
||||
|| (pathlen == 0 && card->cache.current_path.type != SC_PATH_TYPE_DF_NAME)) {
|
||||
|| card->type == SC_CARD_TYPE_STARCOS_V3_5) {
|
||||
/* unify path (the first FID should be MF) */
|
||||
if (path[0] != 0x3f || path[1] != 0x00)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue