diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-07-16 17:30:41 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-07-16 17:30:43 -0400 |
commit | 0568dcd67d34728042259dc8b987154d1970bb2c (patch) | |
tree | 8661a7355dd6f12248995d8316252c64df1de40b | |
parent | f8d470e24606297dab95e30b1d39ff664fbda31d (diff) | |
parent | 347b4ff825e2e1202e8466ee9dcd90078cb1c861 (diff) |
Merge #13679: Initialize m_next_send_inv_to_incoming
347b4ff825 Initialize m_next_send_inv_to_incoming (Pieter Wuille)
Pull request description:
This fixes an uninitialized variable introduced in #13298.
Tree-SHA512: 0c6fb164164141036fbbc955475650724bffdb3593c22946f55ac715fa162183bf9377a8390ee9d13f104be22bc417445e2c7fb3d4acf5e6236ac802e50f3e77
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -441,7 +441,7 @@ private: * This takes the place of a feeler connection */ std::atomic_bool m_try_another_outbound_peer; - std::atomic<int64_t> m_next_send_inv_to_incoming; + std::atomic<int64_t> m_next_send_inv_to_incoming{0}; friend struct CConnmanTest; }; |