Skip to content

Commit

Permalink
Clean warnings in ETW exporters
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan committed Mar 16, 2023
1 parent 211d9c9 commit ed440cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ class Logger : public opentelemetry::logs::Logger
opentelemetry::trace::TraceFlags trace_flags,
common::SystemTimestamp timestamp) noexcept
{
UNREFERENCED_PARAMETER(trace_flags);

# if defined(ENABLE_ENV_PROPERTIES)

Properties env_properties_env = {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class AlwaysOnTailSampler : public TailSampler
opentelemetry::sdk::trace::SamplingResult ShouldSample(
const opentelemetry::trace::Span &span) noexcept override
{
UNREFERENCED_PARAMETER(span);
return {opentelemetry::sdk::trace::Decision::RECORD_AND_SAMPLE};
}
};
Expand Down

0 comments on commit ed440cf

Please sign in to comment.