From: michael Date: Tue, 1 May 2007 12:05:26 +0000 (+0000) Subject: remove unused variables from builds without FTDI-support X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/commitdiff_plain/c6338a01c2a8ce409109418adb191b01e73efacf remove unused variables from builds without FTDI-support --- diff --git a/config.c b/config.c index e09d5ca..78de78b 100644 --- a/config.c +++ b/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;