Merge pull request #1715

8ec2a8d2 net_node: fix spurious warning about using uninitialized data (moneromooo-monero)
This commit is contained in:
Riccardo Spagni
2017-02-12 23:27:08 +02:00
+1 -1
View File
@@ -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;
}
}