summaryrefslogtreecommitdiffstats
path: root/health/health.c
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.c')
-rw-r--r--health/health.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health.c b/health/health.c
index 1b4f43cf36..1972ca2375 100644
--- a/health/health.c
+++ b/health/health.c
@@ -692,7 +692,7 @@ static void initialize_health(RRDHOST *host, int is_localhost) {
health_silencers_init();
}
-static void health_sleep(time_t next_run, unsigned int loop, RRDHOST *host) {
+static void health_sleep(time_t next_run, unsigned int loop __maybe_unused, RRDHOST *host) {
time_t now = now_realtime_sec();
if(now < next_run) {
worker_is_idle();