summaryrefslogtreecommitdiffstats
path: root/backends
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2018-10-26 20:34:48 +0300
committerGitHub <noreply@github.com>2018-10-26 20:34:48 +0300
commitbcdfedbe8215fdf461b61900eba2a9de4be6c0b8 (patch)
treec3597819ec055cb64bc752fe2c81fe1c485305f0 /backends
parentc6cce6bd2accec27a61243e1ffa38826ac2a4892 (diff)
fixed rpm build; (#4503)
Diffstat (limited to 'backends')
-rw-r--r--backends/backends.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/backends.c b/backends/backends.c
index 0e201ddb23..53a9a23954 100644
--- a/backends/backends.c
+++ b/backends/backends.c
@@ -59,6 +59,7 @@ calculated_number backend_calculate_value_from_stored_data(
, time_t *last_timestamp // the timestamp that should be reported to backend
) {
RRDHOST *host = st->rrdhost;
+ (void)host;
// find the edges of the rrd database for this chart
time_t first_t = rrdset_first_entry_t(st);
@@ -170,6 +171,7 @@ static SIMPLE_PATTERN *hosts_pattern = NULL;
inline int backends_can_send_rrdset(BACKEND_OPTIONS backend_options, RRDSET *st) {
RRDHOST *host = st->rrdhost;
+ (void)host;
if(unlikely(rrdset_flag_check(st, RRDSET_FLAG_BACKEND_IGNORE)))
return 0;