diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-12 23:27:08 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-12 23:27:08 +0200 |
commit | f4e2539a322c584c9b45ad5a000cb63e9e90aaab (patch) | |
tree | 807e7d0198255da4ed741fc7ea1194bb120659ff /src | |
parent | Merge pull request #1714 (diff) | |
parent | net_node: fix spurious warning about using uninitialized data (diff) | |
download | monero-f4e2539a322c584c9b45ad5a000cb63e9e90aaab.tar.xz |
Merge pull request #1715
8ec2a8d2 net_node: fix spurious warning about using uninitialized data (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/p2p/net_node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 5ed96c00b..4243e35f1 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -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; } } |