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 compiler warnings and 1 UB instances #996

Merged

Conversation

duncanspumpkin
Copy link
Contributor

This fixes a few little warnings and errors that i've noticed from using ttk. There are related issues for each of the commits detailing what the problem is refer to the issues for more information.

@julien-tierny
Copy link
Collaborator

hi @duncanspumpkin ,
thanks a lot for the PR!
could you please run clang-format on your PR? (see https://github.com/topology-tool-kit/ttk/blob/dev/CONTRIBUTING.md#2-code-formatting)
Thanks!

@duncanspumpkin
Copy link
Contributor Author

hi @duncanspumpkin , thanks a lot for the PR! could you please run clang-format on your PR? (see https://github.com/topology-tool-kit/ttk/blob/dev/CONTRIBUTING.md#2-code-formatting) Thanks!

Sure, done. It would be useful if the ci outputed the patches that it is expecting. Took me a little while to work out what it was saying was wrong. Then contributors don't need to have the same version of clang format installed (I normally only have clang format installed as part of MSVC which at present is 17.0.2)

@julien-tierny
Copy link
Collaborator

thanks a lot duncan!

@julien-tierny julien-tierny merged commit 4cd41ad into topology-tool-kit:dev Dec 8, 2023
45 checks passed
@duncanspumpkin duncanspumpkin deleted the fixCompilerWarnings branch December 8, 2023 16:25
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