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 9cb5e30..6df8539 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;