removed unused variables

This commit is contained in:
Frank Morgner
2013-07-03 00:57:43 +02:00
parent c8da15c125
commit 26051c973b
2 changed files with 3 additions and 4 deletions

View File

@@ -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)

View File

@@ -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;