Code

write_log plugin: mark unused attribute as unused
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 13 Aug 2016 13:58:04 +0000 (15:58 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 13 Aug 2016 13:58:59 +0000 (15:58 +0200)
src/write_log.c

index 7260615e34d73d54a233437fba921f08d9827174..b0dc6f11cca43072ed7a094ba6ef3c2f2e6ac794 100644 (file)
@@ -59,7 +59,7 @@ static int wl_write_messages (const data_set_t *ds, const value_list_t *vl)
 } /* int wl_write_messages */
 
 static int wl_write (const data_set_t *ds, const value_list_t *vl,
-        user_data_t *user_data)
+        __attribute__ ((unused)) user_data_t *user_data)
 {
     int status;