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

chore: Remove unused variable in diffusion.hpp #666

Merged

Conversation

striezel
Copy link
Contributor

@striezel striezel commented May 11, 2022

Description

The variable dims is not used and can cause a compiler warning.

References

It causes compiler warning, e.g. here:
https://web.archive.org/web/20220511164304/https://www.boost.org/development/tests/develop/output/teeks99-06-dc9-2a-64onaarch64-gil-clang-linux-9~c++2a-warnings.html#anisotropic_diffusion (archived from the original, because that changes with every build on the develop branch)

../boost/gil/image_processing/diffusion.hpp:373:19: warning: unused variable 'dims' [-Wunused-variable]
1 warning generated.

Tasklist

  • Ensure all CI builds pass
  • Review and approve

The variable `dims` is not used and causes a compiler warning.
@mloskot mloskot added this to the Boost 1.80 milestone May 12, 2022
@mloskot mloskot added the core boost/gil label May 12, 2022
@mloskot mloskot changed the title remove unused variable in diffusion.hpp chore: Remove unused variable in diffusion.hpp May 12, 2022
@mloskot mloskot merged commit 9666a95 into boostorg:develop May 12, 2022
@striezel striezel deleted the remove-unused-variable-in-diffusion branch May 12, 2022 17:34
@mloskot mloskot mentioned this pull request Jul 5, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core boost/gil
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants