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

Fix unused compiler warnings #219

Merged
merged 1 commit into from
May 5, 2023
Merged

Conversation

fbossen
Copy link
Collaborator

@fbossen fbossen commented May 4, 2023

Resolves #13

@kkysen kkysen changed the title Silence compiler warnings Fix unused compiler warnings May 5, 2023
Copy link
Collaborator

@kkysen kkysen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes LGTM, but I'm not sure it fully resolves #13 since that also includes updating CI to deny warnings.

I also changed the PR title since I think "silence" implies just turning the warnings off (allowing them), but this properly fixes the remaining ones, which seem to be all from unused items.

@thedataking
Copy link
Collaborator

thedataking commented May 5, 2023

I created #220 so we can close #13 without losing track of planned work. It is nice to clean up warnings in batches at this stage and land PRs faster but I realize others may disagree. We'll most likely surface more bugs by expanding the tests run, testing on AVX512 capable CPUs, etc.

@kkysen
Copy link
Collaborator

kkysen commented May 5, 2023

That's fine, that makes sense. I was just looking at what #13 said. I agree it's not super important, though. This PR looks good then with it's current description.

@randomPoison randomPoison merged commit bed6660 into memorysafety:main May 5, 2023
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.

Cleanup warnings
4 participants