mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-09 12:19:26 +00:00
Fixed cppcheck error
This commit is contained in:
parent
e0a3add5f2
commit
beea3e2184
1 changed files with 1 additions and 0 deletions
|
@ -2214,6 +2214,7 @@ void P2PServer::P2PClient::on_peer_list_response(const uint8_t* buf)
|
||||||
buf += 2;
|
buf += 2;
|
||||||
|
|
||||||
// Treat IPv4-mapped addresses as regular IPv4 addresses
|
// Treat IPv4-mapped addresses as regular IPv4 addresses
|
||||||
|
// cppcheck-suppress uninitvar
|
||||||
if (is_v6 && ip.is_ipv4_prefix()) {
|
if (is_v6 && ip.is_ipv4_prefix()) {
|
||||||
is_v6 = false;
|
is_v6 = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue