Skip to content

[CODE HEALTH] Fix clang-tidy cppcoreguidelines-init-variables warnings#3919

Open
dbarker wants to merge 1 commit intoopen-telemetry:mainfrom
dbarker:fix_clang_tidy_init_warnings
Open

[CODE HEALTH] Fix clang-tidy cppcoreguidelines-init-variables warnings#3919
dbarker wants to merge 1 commit intoopen-telemetry:mainfrom
dbarker:fix_clang_tidy_init_warnings

Conversation

@dbarker
Copy link
Member

@dbarker dbarker commented Mar 6, 2026

Fixes # (issue)

Changes

  • fix clang-tidy cppcoreguidelines-init-variables warnings

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@codecov
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.06%. Comparing base (355bf9b) to head (e31ce24).

Files with missing lines Patch % Lines
...ude/opentelemetry/sdk/metrics/view/view_registry.h 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3919      +/-   ##
==========================================
- Coverage   90.07%   90.06%   -0.00%     
==========================================
  Files         226      226              
  Lines        7217     7223       +6     
==========================================
+ Hits         6500     6505       +5     
- Misses        717      718       +1     
Files with missing lines Coverage Δ
api/include/opentelemetry/baggage/baggage.h 98.28% <100.00%> (+0.02%) ⬆️
...entelemetry/trace/propagation/http_trace_context.h 92.86% <100.00%> (+0.22%) ⬆️
...i/include/opentelemetry/trace/propagation/jaeger.h 97.83% <100.00%> (+0.05%) ⬆️
api/include/opentelemetry/trace/trace_state.h 97.62% <100.00%> (+0.03%) ⬆️
...ude/opentelemetry/sdk/metrics/view/view_registry.h 81.36% <0.00%> (-1.40%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dbarker dbarker marked this pull request as ready for review March 7, 2026 01:00
@dbarker dbarker requested a review from a team as a code owner March 7, 2026 01:00
Copy link
Member

@marcalff marcalff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants