Skip to content

Commit

Permalink
Suppress -Wunused-parameter warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtum committed Oct 26, 2024
1 parent 0608d6c commit 9ee18ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/doc/core_1_refresher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ snippets()
assert(bytes_transferred == 13);
else
std::cerr << "Error: " << ec.message() << "\n";

(void)bytes_transferred;
});
// meanwhile, the operation is outstanding and execution continues from here
//]
Expand Down

0 comments on commit 9ee18ff

Please sign in to comment.