boostorg / gil

Boost.GIL - Generic Image Library | Requires C++14 since Boost 1.80
https://boostorg.github.io/gil
Boost Software License 1.0
178 stars 163 forks source link

chore: Remove unused variable in diffusion.hpp #666

Closed striezel closed 2 years ago

striezel commented 2 years ago

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