diff --git a/pcsc-relay/src/lnfc.c b/pcsc-relay/src/lnfc.c index bb40e22..35f716b 100644 --- a/pcsc-relay/src/lnfc.c +++ b/pcsc-relay/src/lnfc.c @@ -31,11 +31,12 @@ struct lnfc_data { }; +#if 0 static size_t get_historical_bytes(unsigned char *atr, size_t atrlen, unsigned char **hb) { size_t i, hblen; - char tax_present, tbx_present, tcx_present, tdx_present, x; + char tdx_present, x; if (!atr || !hb) return 0; @@ -98,6 +99,7 @@ static size_t get_historical_bytes(unsigned char *atr, size_t atrlen, return hblen; } +#endif static int lnfc_connect(driver_data_t **driver_data) diff --git a/pcsc-relay/src/pcsc-relay.c b/pcsc-relay/src/pcsc-relay.c index 808f42a..14127b8 100644 --- a/pcsc-relay/src/pcsc-relay.c +++ b/pcsc-relay/src/pcsc-relay.c @@ -35,8 +35,6 @@ #define MAX_BUFFER_SIZE 264 /**< Maximum Tx/Rx Buffer for short APDU */ #endif -static int doinfo = 0; -static int dodaemon = 1; int verbose = 0; static struct rf_driver *rfdriver = &driver_openpicc; static driver_data_t *rfdriver_data = NULL; @@ -134,7 +132,6 @@ int main (int argc, char **argv) /*printf("%s:%d\n", __FILE__, __LINE__);*/ unsigned char *buf = NULL; size_t buflen; - int i, oindex; unsigned char outputBuffer[MAX_BUFFER_SIZE]; size_t outputLength;