Skip to content
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

Remove set but not used variables #8595

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mgudemann
Copy link
Contributor

clang 19.1.17 warns about set but not used variables and stops compilation because of -Werror

  • Each commit message has a non-empty body, explaining why the change was made.
  • Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • White-space or formatting changes outside the feature-related changed lines are in commits of their own.

clang 19.1.17 warns about `set but not used` variables and stops compilation
because of `-Werror`
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.63%. Comparing base (0fc8a49) to head (900dee6).

Files with missing lines Patch % Lines
src/solvers/flattening/boolbv_overflow.cpp 66.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #8595   +/-   ##
========================================
  Coverage    79.63%   79.63%           
========================================
  Files         1733     1733           
  Lines       197686   197683    -3     
  Branches     18226    18167   -59     
========================================
- Hits        157418   157417    -1     
+ Misses       40268    40266    -2     

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

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.

5 participants