aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-07-16 14:07:52 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-07-16 14:08:38 -0700
commit347b4ff825e2e1202e8466ee9dcd90078cb1c861 (patch)
tree8661a7355dd6f12248995d8316252c64df1de40b /src
parentf8d470e24606297dab95e30b1d39ff664fbda31d (diff)
Initialize m_next_send_inv_to_incoming
Diffstat (limited to 'src')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index d152fbfbdd..607b2fc53c 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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;
};