Skip to content

Fix unused variable warnings#364

Merged
cburstedde merged 1 commit into
cburstedde:developfrom
hannesbrandt:fix-unused-variable-warnings
May 22, 2026
Merged

Fix unused variable warnings#364
cburstedde merged 1 commit into
cburstedde:developfrom
hannesbrandt:fix-unused-variable-warnings

Conversation

@hannesbrandt

Copy link
Copy Markdown
Collaborator

Fix set-but-unused-variable warnings

Proposed changes:
This PR addresses a recent issue in the CI (https://github.com/cburstedde/p4est/actions/runs/26040411092/job/76567611984). There were some set-but-unused-variable warnings for variables that are only used in assertions. This PR removes the warnings by enclosing the variables in an #ifdef P4EST_ENABLE_DEBUG. Also, it updates the submodule to include similar fixes in sc (see cburstedde/libsc#240).

@hannesbrandt hannesbrandt force-pushed the fix-unused-variable-warnings branch from 76de8a7 to 5a891d2 Compare May 22, 2026 13:14
@cburstedde cburstedde merged commit 5a891d2 into cburstedde:develop May 22, 2026
12 checks passed
@cburstedde

Copy link
Copy Markdown
Owner

Thanks again!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants