X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_threshold.c;h=03a3f2d473907cc13fd44a3c6fdde5d99749e319;hb=108068f268cad453e5d3b54e288917409db1e467;hp=fd6257c5a0cb9c2f4a0fc884d88a060c677c85aa;hpb=85595909d57159907df4789320b857e5a2b946cf;p=collectd.git diff --git a/src/utils_threshold.c b/src/utils_threshold.c index fd6257c5..03a3f2d4 100644 --- a/src/utils_threshold.c +++ b/src/utils_threshold.c @@ -674,7 +674,7 @@ static int ut_report_state (const data_set_t *ds, plugin_dispatch_notification (&n); - plugin_notification_meta_free (&n); + plugin_notification_meta_free (n.meta); return (0); } /* }}} int ut_report_state */ @@ -689,7 +689,7 @@ static int ut_report_state (const data_set_t *ds, * Does not fail. */ static int ut_check_one_data_source (const data_set_t *ds, - const value_list_t *vl, + const value_list_t __attribute__((unused)) *vl, const threshold_t *th, const gauge_t *values, int ds_index)