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 6c78d64..37f21ed 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);
 }