remove unused variables from builds without FTDI-support
This commit is contained in:
parent
7606d47088
commit
c6338a01c2
7
config.c
7
config.c
@ -17,11 +17,14 @@ static struct parport_config pp_config[4];
|
||||
|
||||
static void read_config() {
|
||||
int i;
|
||||
int line, len, num;
|
||||
static int config_read = 0;
|
||||
FILE *cfg;
|
||||
char buf[LINELEN], *pbuf;
|
||||
char buf[LINELEN];
|
||||
#ifdef JTAGKEY
|
||||
char *pbuf;
|
||||
unsigned short vid, pid;
|
||||
int line, len, num;
|
||||
#endif
|
||||
|
||||
if (config_read)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user