westcos: Avoid assigning local variable to function arguments
This commit is contained in:
parent
3d257410b2
commit
0365c3ce6c
|
@ -805,6 +805,7 @@ static int westcos_pin_cmd(sc_card_t * card, struct sc_pin_cmd_data *data,
|
|||
} else {
|
||||
r = SC_ERROR_NOT_SUPPORTED;
|
||||
}
|
||||
data->apdu = NULL;
|
||||
}
|
||||
if (r)
|
||||
return (r);
|
||||
|
|
Loading…
Reference in New Issue