Code

daemon: Fix -Wunused-parameter warnings.
authorFlorian Forster <octo@collectd.org>
Wed, 8 Jul 2015 10:40:48 +0000 (12:40 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 8 Jul 2015 10:40:48 +0000 (12:40 +0200)
src/daemon/utils_cache_mock.c

index 6c78d64dc86c01bc731ff5a09ed6688fd94a5587..37f21edb0f9023d1e3132999b75953e6e6cbec17 100644 (file)
@@ -26,7 +26,8 @@
 
 #include "utils_cache.h"
 
-gauge_t *uc_get_rate (const data_set_t *ds, const value_list_t *vl)
+gauge_t *uc_get_rate (__attribute((unused)) data_set_t const *ds,
+                      __attribute((unused)) value_list_t const *vl)
 {
   return (NULL);
 }