diff --git a/api/include/opentelemetry/metrics/noop.h b/api/include/opentelemetry/metrics/noop.h index ed61e43888..72140e5b40 100644 --- a/api/include/opentelemetry/metrics/noop.h +++ b/api/include/opentelemetry/metrics/noop.h @@ -49,7 +49,7 @@ class NoopHistogram : public Histogram const opentelemetry::common::KeyValueIterable & /*attributes*/) noexcept override {} - void Record(T value) noexcept override {} + void Record(T /*value*/) noexcept override {} #endif };