From c6338a01c2a8ce409109418adb191b01e73efacf Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 1 May 2007 12:05:26 +0000 Subject: [PATCH 1/1] remove unused variables from builds without FTDI-support --- config.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; -- 2.39.5