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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue