From 31ee0e5282b59f89ac5c9bcaebb993450e45dba1 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 29 Jul 2013 20:08:00 +0200 Subject: [PATCH] Use gcc-specific __attribute__ to mark unused parameter --- src/sigrok.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sigrok.c b/src/sigrok.c index 9cb5e30a..6df85394 100644 --- a/src/sigrok.c +++ b/src/sigrok.c @@ -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; -- 2.30.2