chore: Enable clang-tidy misc checks (#6655)

This commit is contained in:
Alex Kremer
2026-03-31 18:29:45 +01:00
committed by GitHub
parent c3fae847f3
commit 2502befb42
469 changed files with 3915 additions and 3965 deletions

View File

@@ -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;