Skip to content

Fix minor coding style issues in C code#718

Open
jeltz wants to merge 1 commit into
percona:mainfrom
jeltz:c-style-fixes
Open

Fix minor coding style issues in C code#718
jeltz wants to merge 1 commit into
percona:mainfrom
jeltz:c-style-fixes

Conversation

@jeltz

@jeltz jeltz commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Some of the style issues fixed in this commit:

  • Remove extra parentheses where they do not help
  • Fix alignment of defines
  • Remove an empty line
  • Use ! instead of == false
  • Remove unnecessary curly braces

PG-0

@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.25%. Comparing base (d7ec3de) to head (31dc697).

Files with missing lines Patch % Lines
src/pg_stat_monitor.c 90.90% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #718   +/-   ##
=======================================
  Coverage   87.25%   87.25%           
=======================================
  Files           3        3           
  Lines        1287     1287           
  Branches      205      205           
=======================================
  Hits         1123     1123           
  Misses         73       73           
  Partials       91       91           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Some of the style issues fixed in this commit:

- Remove extra parentheses where they do not help
- Fix alignment of defines
- Remove an empty line
- Use ! instead of == false
- Remove unnecessary curly braces
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.

1 participant