From 0886fd891a6f107f83e08d582d1d0d5f0529073f Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Sat, 26 Oct 2024 07:59:43 +0000 Subject: [PATCH] Suppress -Wunused-parameter warnings in tests --- test/doc/core_1_refresher.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/doc/core_1_refresher.cpp b/test/doc/core_1_refresher.cpp index 5169b347..c888e643 100644 --- a/test/doc/core_1_refresher.cpp +++ b/test/doc/core_1_refresher.cpp @@ -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 //]