From: Bert Vermeulen Date: Mon, 29 Jul 2013 18:08:00 +0000 (+0200) Subject: Use gcc-specific __attribute__ to mark unused parameter X-Git-Tag: collectd-5.4.0~14^2~12 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=31ee0e5282b59f89ac5c9bcaebb993450e45dba1;p=collectd.git Use gcc-specific __attribute__ to mark unused parameter --- 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;