fix: suppress goto warning

This commit is contained in:
Yat Ho 2024-03-06 11:21:51 +08:00
parent 67bff3a398
commit 1f83cd4972
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,7 @@ private:
// if there is an existing connection to this peer, keep the better one
if (info_that->is_connected() && on_got_port_duplicate_connection(msgs, info_that))
{
goto EXIT;
goto EXIT; // NOLINT cppcoreguidelines-avoid-goto
}
// merge the peer info objects