sc-hsm: fix unused variable warnings in sc_hsm_init()
When building without OpenPACE there are two unused variables in sc_hsm_init() that cause compiler to emit warnings about them. Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
This commit is contained in:
parent
294c232ca9
commit
0cb654ca78
|
@ -1543,7 +1543,7 @@ static int sc_hsm_card_ctl(sc_card_t *card, unsigned long cmd, void *ptr)
|
||||||
|
|
||||||
static int sc_hsm_init(struct sc_card *card)
|
static int sc_hsm_init(struct sc_card *card)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#if defined(ENABLE_OPENPACE) && defined(_WIN32)
|
||||||
char expanded_val[PATH_MAX];
|
char expanded_val[PATH_MAX];
|
||||||
size_t expanded_len = PATH_MAX;
|
size_t expanded_len = PATH_MAX;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue