chore: Enable clang-tidy bugprone-unused-return-value check (#6475)

This commit is contained in:
Alex Kremer
2026-03-16 13:55:22 +00:00
committed by GitHub
parent 1738a69619
commit 918185e18f
8 changed files with 12 additions and 7 deletions

View File

@@ -232,7 +232,7 @@ public:
return;
boost::system::error_code ec;
s.shutdown(socket::shutdown_both, ec);
s.shutdown(socket::shutdown_both, ec); // NOLINT(bugprone-unused-return-value)
std::this_thread::sleep_for(std::chrono::seconds(1));
}
@@ -268,7 +268,7 @@ public:
return;
boost::system::error_code ec;
s.shutdown(socket::shutdown_both, ec);
s.shutdown(socket::shutdown_both, ec); // NOLINT(bugprone-unused-return-value)
}
void