diff --git a/tests/test_bresenham.cpp b/tests/test_bresenham.cpp index f81a04dc..e7d76bef 100644 --- a/tests/test_bresenham.cpp +++ b/tests/test_bresenham.cpp @@ -22,7 +22,7 @@ std::vector> generate_line(const std::array& begin, c } /** Dummy callback for older bresenham functions. */ -bool null_bresenham_callback(int x, int y) { return true; } +bool null_bresenham_callback([[maybe_unused]] int x, [[maybe_unused]] int y) { return true; } TEST_CASE("TCODFOV_line_step_mt") { const std::vector> EXPECTED = {