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
commit f4e2539a32
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -112,7 +112,7 @@ namespace nodetool
if (ver == 0) if (ver == 0)
{ {
// from v1, we do not store the peer id anymore // 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; a & peer_id;
} }
} }