mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
net_node: fix spurious warning about using uninitialized data
This is only used to load, not save
This commit is contained in:
parent
cb54eeaa31
commit
8ec2a8d2b0
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user