remove unused variables from builds without FTDI-support
authormichael <michael>
Tue, 1 May 2007 12:05:26 +0000 (12:05 +0000)
committermichael <michael>
Tue, 1 May 2007 12:05:26 +0000 (12:05 +0000)
config.c

index e09d5ca8989a96ffc50be23c7f5edb7ddb3f3658..78de78b80b6f087ad3401c7fe958228bdaabbe85 100644 (file)
--- 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;
Impressum, Datenschutz