Remove dead code
card-westcos.c:1066:4: warning: Value stored to 'r' is never read r = SC_ERROR_INVALID_ARGUMENTS; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5173 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
6473a883d4
commit
75ef203f27
|
@ -1062,9 +1062,6 @@ static int westcos_set_security_env(sc_card_t *card,
|
|||
mode = WESTCOS_RSA_NO_HASH_PAD_PKCS1;
|
||||
else if ((priv_data->env.flags) & SC_ALGORITHM_RSA_RAW)
|
||||
mode = WESTCOS_RSA_NO_HASH_NO_PAD;
|
||||
else {
|
||||
r = SC_ERROR_INVALID_ARGUMENTS;
|
||||
}
|
||||
|
||||
r = sc_path_print((char *)buf, sizeof(buf), &(env->file_ref));
|
||||
if(r)
|
||||
|
|
Loading…
Reference in New Issue