aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/p2p/net_node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h
index 5ed96c00b..4243e35f1 100644
--- a/src/p2p/net_node.h
+++ b/src/p2p/net_node.h
@@ -112,7 +112,7 @@ namespace nodetool
if (ver == 0)
{
// from v1, we do not store the peer id anymore
- peerid_type peer_id;
+ peerid_type peer_id = AUTO_VAL_INIT (peer_id);
a & peer_id;
}
}