mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-08 03:07:13 +00:00
chore: Enable clang-tidy bugprone-unused-return-value check (#6475)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user