Remove dead code
card-oberthur.c:1539:2: warning: Value stored to 'prv' is never read prv = (struct auth_private_data *) card->drv_data; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5167 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
28b6b60870
commit
dd55567cf9
|
@ -1531,13 +1531,9 @@ auth_read_component(struct sc_card *card, enum SC_CARDCTL_OBERTHUR_KEY_TYPE type
|
||||||
static int
|
static int
|
||||||
auth_get_pin_reference (struct sc_card *card, int type, int reference, int cmd, int *out_ref)
|
auth_get_pin_reference (struct sc_card *card, int type, int reference, int cmd, int *out_ref)
|
||||||
{
|
{
|
||||||
struct auth_private_data *prv;
|
|
||||||
|
|
||||||
if (!card || !out_ref)
|
if (!card || !out_ref)
|
||||||
SC_FUNC_RETURN(card->ctx, SC_LOG_DEBUG_NORMAL, SC_ERROR_INVALID_ARGUMENTS);
|
SC_FUNC_RETURN(card->ctx, SC_LOG_DEBUG_NORMAL, SC_ERROR_INVALID_ARGUMENTS);
|
||||||
|
|
||||||
prv = (struct auth_private_data *) card->drv_data;
|
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case SC_AC_CHV:
|
case SC_AC_CHV:
|
||||||
if (reference != 1 && reference != 2 && reference != 4)
|
if (reference != 1 && reference != 2 && reference != 4)
|
||||||
|
|
Loading…
Reference in New Issue