remove unused variables
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2772 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
103979ec37
commit
ced2df6b1a
|
@ -1376,7 +1376,7 @@ int sc_pkcs15_encode_unusedspace(sc_context_t *ctx,
|
||||||
struct sc_pkcs15_card *p15card,
|
struct sc_pkcs15_card *p15card,
|
||||||
u8 **buf, size_t *buflen)
|
u8 **buf, size_t *buflen)
|
||||||
{
|
{
|
||||||
sc_path_t path, dummy_path;
|
sc_path_t dummy_path;
|
||||||
static const struct sc_asn1_entry c_asn1_unusedspace[] = {
|
static const struct sc_asn1_entry c_asn1_unusedspace[] = {
|
||||||
{ "UnusedSpace", SC_ASN1_STRUCT, ASN1_SEQUENCE | SC_ASN1_CONS, 0, NULL, NULL },
|
{ "UnusedSpace", SC_ASN1_STRUCT, ASN1_SEQUENCE | SC_ASN1_CONS, 0, NULL, NULL },
|
||||||
{ NULL, 0, 0, 0, NULL, NULL }
|
{ NULL, 0, 0, 0, NULL, NULL }
|
||||||
|
@ -1448,7 +1448,7 @@ int sc_pkcs15_parse_unusedspace(const u8 * buf, size_t buflen, struct sc_pkcs15_
|
||||||
{
|
{
|
||||||
const u8 *p = buf;
|
const u8 *p = buf;
|
||||||
size_t left = buflen;
|
size_t left = buflen;
|
||||||
int r, i;
|
int r;
|
||||||
sc_path_t path, dummy_path;
|
sc_path_t path, dummy_path;
|
||||||
sc_pkcs15_id_t auth_id;
|
sc_pkcs15_id_t auth_id;
|
||||||
struct sc_asn1_entry asn1_unusedspace[] = {
|
struct sc_asn1_entry asn1_unusedspace[] = {
|
||||||
|
|
Loading…
Reference in New Issue