Code

Use gcc-specific __attribute__ to mark unused parameter
authorBert Vermeulen <bert@biot.com>
Mon, 29 Jul 2013 18:08:00 +0000 (20:08 +0200)
committerBert Vermeulen <bert@biot.com>
Mon, 29 Jul 2013 18:08:00 +0000 (20:08 +0200)
src/sigrok.c

index 9cb5e30aa96e5016f91cc71f9238337525245cbc..6df85394a90dabb76293f1bc8157260ae2cd019b 100644 (file)
@@ -200,7 +200,7 @@ static void sigrok_feed_callback(const struct sr_dev_inst *sdi,
 
 }
 
-static void *thread_init(void *arg)
+static void *thread_init(void *arg __attribute__((unused)))
 {
        struct sr_dev_driver *drv, **drvlist;
        struct sr_config *src;