Skip to content

Commit

Permalink
resolve two unused warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Sep 17, 2024
1 parent 723bc96 commit 2e871a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/testing/tester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ namespace eosio::testing {
[[maybe_unused]] auto block_start_connection = control->block_start().connect([](block_num_type num) {
// only block number is signaled, in forking tests will get the same block number more than once.
});
[[maybe_unused]] auto accepted_block_header_connection = control->accepted_block_header().connect([this](const block_signal_params& t) {
const auto& [block, id] = t;
[[maybe_unused]] auto accepted_block_header_connection = control->accepted_block_header().connect([&](const block_signal_params& t) {
[[maybe_unused]] const auto& [block, id] = t;
assert(block);
assert(_check_signal(id, block_signal::accepted_block_header));
});
Expand Down

0 comments on commit 2e871a0

Please sign in to comment.