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

Cleanup compiler warnings #355

Merged
merged 24 commits into from
Jul 23, 2024

Conversation

donnaaboise
Copy link
Member

This cleanups several lingering compiler warnings.

  • Almost all warnings were in fortran codes

  • Most warnings were "uninitialized variables" that occur when a variable is set in an if ... elseif .... branch without an else to catch any default. These were mostly fixed by including an else branch that will exit code.

  • The "missing terminating character` still occurs with ninja/cmake

  • TEST files still have numerous warnings involving sprintf (warnings suggest using snprintf instead).

  • One set but not used variable warning left un-fixed in fclaw2d_convenience.c. @cburstedde - can you fix this?

@scottaiton scottaiton merged commit 6803099 into ForestClaw:develop-3d Jul 23, 2024
39 checks passed
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