net_node: fix spurious warning about using uninitialized data

This is only used to load, not save
release-v0.4.0.1
moneromooo-monero 7 years ago
parent cb54eeaa31
commit 8ec2a8d2b0
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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;
}
}

Loading…
Cancel
Save