Skip to content

Commit

Permalink
fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Oct 2, 2023
1 parent a3c0101 commit 03c3cab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/include/opentelemetry/metrics/noop.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ class NoopHistogram : public Histogram<T>
const context::Context & /* context */) noexcept override
{}
#if OPENTELEMETRY_ABI_VERSION_NO >= 2
void Record(T value, const opentelemetry::common::KeyValueIterable &attributes) noexcept override
void Record(T /*value*/,
const opentelemetry::common::KeyValueIterable & /*attributes*/) noexcept override
{}

void Record(T value) noexcept override {}
Expand Down

0 comments on commit 03c3cab

Please sign in to comment.