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)
|
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