diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-08-21 21:59:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 21:59:17 +0300 |
commit | e66072e0353ad9cd75a1298dd1d501485bbb1cd5 (patch) | |
tree | 7f0ded3dc49c6232a6ae13b38562ddfc9bb48656 /libnetdata | |
parent | d547b470add617ff8b8c91ed60b7491c981d7279 (diff) |
Fix compilation warnings (#15858)
* Fix compilation warnings
* Fix adding compilation warnings when NETDATA_INTERNAL_CHECKS or NETDATA_DEV_MODE is specified
Diffstat (limited to 'libnetdata')
-rw-r--r-- | libnetdata/facets/facets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetdata/facets/facets.c b/libnetdata/facets/facets.c index 5162871ac0..f3e9360138 100644 --- a/libnetdata/facets/facets.c +++ b/libnetdata/facets/facets.c @@ -163,7 +163,7 @@ void facets_set_histogram(FACETS *facets, const char *chart, usec_t after_ut, us facets->histogram.slots = (facets->histogram.before_ut - facets->histogram.after_ut) / facets->histogram.slot_width + 1; } -static inline void facets_histogram_update_value(FACETS *facets, FACET_KEY *k, FACET_VALUE *v, usec_t usec) { +static inline void facets_histogram_update_value(FACETS *facets, FACET_KEY *k __maybe_unused, FACET_VALUE *v, usec_t usec) { if(!facets->histogram.enabled) return; |