From 347b4ff825e2e1202e8466ee9dcd90078cb1c861 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Mon, 16 Jul 2018 14:07:52 -0700 Subject: Initialize m_next_send_inv_to_incoming --- src/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 m_next_send_inv_to_incoming; + std::atomic m_next_send_inv_to_incoming{0}; friend struct CConnmanTest; }; -- cgit v1.2.3