projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21b0365
)
daemon: Fix -Wunused-parameter warnings.
author
Florian Forster
<octo@collectd.org>
Wed, 8 Jul 2015 10:40:48 +0000
(12:40 +0200)
committer
Florian Forster
<octo@collectd.org>
Wed, 8 Jul 2015 10:40:48 +0000
(12:40 +0200)
src/daemon/utils_cache_mock.c
patch
|
blob
|
history
diff --git
a/src/daemon/utils_cache_mock.c
b/src/daemon/utils_cache_mock.c
index
6c78d64
..
37f21ed
100644
(file)
--- a/
src/daemon/utils_cache_mock.c
+++ b/
src/daemon/utils_cache_mock.c
@@
-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);
}