aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2020-11-11 02:34:14 +0000
committerHoward Chu <hyc@symas.com>2020-11-11 02:34:14 +0000
commit3247f11638a64d00eb6c03e3763e2985c9beef0e (patch)
treef5c05d0924bc6ef8d94aa8ddef36077d571a272e /src/p2p/net_node.inl
parentMerge pull request #6927 (diff)
downloadmonero-3247f11638a64d00eb6c03e3763e2985c9beef0e.tar.xz
Silence stupid warnings
Diffstat (limited to '')
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index aa16e93d5..60ea1f1e5 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -2095,7 +2095,7 @@ namespace nodetool
const epee::net_utils::network_address na = context.m_remote_address;
std::string ip;
- uint32_t ipv4_addr;
+ uint32_t ipv4_addr = 0;
boost::asio::ip::address_v6 ipv6_addr;
bool is_ipv4;
if (na.get_type_id() == epee::net_utils::ipv4_network_address::get_type_id())