Skip to content

Addressing some static analysis warnings. #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2024
Merged

Addressing some static analysis warnings. #179

merged 2 commits into from
May 27, 2024

Conversation

paulhuggett
Copy link
Owner

@paulhuggett paulhuggett commented May 26, 2024

Avoid native integer types in favour of explicitly sized types. Avoid bitwise operations on signed types. Eliminate a TODO: replaced with a comment stating that the code should be removed when possible. Explicitly discard the return value from std::ios_base::flags().

Avoid native integer types in favor of explicitly sized types. Avoid
bitwise operations on signed types. Eliminate a TODO: replaced with a
comment stating that the code should be removed when possible.
@paulhuggett paulhuggett marked this pull request as ready for review May 26, 2024 13:26
Copy link

codecov bot commented May 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.75%. Comparing base (5835ebf) to head (82580fa).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #179      +/-   ##
==========================================
+ Coverage   90.74%   90.75%   +0.01%     
==========================================
  Files           6        6              
  Lines         864      865       +1     
==========================================
+ Hits          784      785       +1     
  Misses         80       80              

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

@paulhuggett paulhuggett merged commit 809cc39 into main May 27, 2024
35 checks passed
@paulhuggett paulhuggett deleted the sa-warnings branch May 27, 2024 13:07
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