mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 20:06:32 +02:00
Merge pull request #1715
8ec2a8d2
net_node: fix spurious warning about using uninitialized data (moneromooo-monero)
This commit is contained in:
commit
f4e2539a32
@ -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…
Reference in New Issue
Block a user