projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-4.5' into collectd-4.6
[collectd.git]
/
src
/
utils_threshold.c
diff --git
a/src/utils_threshold.c
b/src/utils_threshold.c
index
fd6257c
..
03a3f2d
100644
(file)
--- 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_dispatch_notification (&n);
- plugin_notification_meta_free (
&n
);
+ plugin_notification_meta_free (
n.meta
);
return (0);
} /* }}} int ut_report_state */
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,
* 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)
const threshold_t *th,
const gauge_t *values,
int ds_index)