Skip to content

Commit

Permalink
Mark unused parameters in test dummy function
Browse files Browse the repository at this point in the history
Fixes unused parameters warning
  • Loading branch information
HexDecimal committed Nov 5, 2024
1 parent 6ee1c81 commit 16e4cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_bresenham.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ std::vector<std::array<int, 2>> generate_line(const std::array<int, 2>& 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<std::array<int, 2>> EXPECTED = {
Expand Down

0 comments on commit 16e4cb3

Please sign in to comment.