summaryrefslogtreecommitdiffstats
path: root/libnetdata/health
diff options
context:
space:
mode:
Diffstat (limited to 'libnetdata/health')
-rw-r--r--libnetdata/health/health.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnetdata/health/health.c b/libnetdata/health/health.c
index b93de8b9..a70f284b 100644
--- a/libnetdata/health/health.c
+++ b/libnetdata/health/health.c
@@ -136,7 +136,8 @@ int health_silencers_json_read_callback(JSON_ENTRY *e)
else if (!strcmp(e->data.string,"DISABLE")) silencers->stype = STYPE_DISABLE_ALARMS;
} else {
debug(D_HEALTH, "JSON: Adding %s=%s", e->name, e->data.string);
- health_silencers_addparam(e->callback_data, e->name, e->data.string);
+ SILENCER *test = health_silencers_addparam(e->callback_data, e->name, e->data.string);
+ (void)test;
}
break;