mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 17:56:49 +00:00
chore: Enable clang-tidy misc checks (#6655)
This commit is contained in:
@@ -199,7 +199,7 @@ BasicNetwork<Peer>::disconnect(Peer const& peer1, Peer const& peer2)
|
||||
{
|
||||
if (!links_.disconnect(peer1, peer2))
|
||||
return false;
|
||||
bool r = links_.disconnect(peer2, peer1);
|
||||
bool const r = links_.disconnect(peer2, peer1);
|
||||
(void)r;
|
||||
assert(r);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user