From fa2510d5c1cdf9c2cd5cc9887302ced4378c7202 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sat, 5 Jan 2019 12:02:12 +0100 Subject: Use C++11 default member initializers --- src/net.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/net.cpp') diff --git a/src/net.cpp b/src/net.cpp index a288c6e81e..65c681c317 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2317,14 +2317,6 @@ void CConnman::SetNetworkActive(bool active) CConnman::CConnman(uint64_t nSeed0In, uint64_t nSeed1In) : nSeed0(nSeed0In), nSeed1(nSeed1In) { - fNetworkActive = true; - setBannedIsDirty = false; - fAddressesInitialized = false; - nLastNodeId = 0; - nPrevNodeCount = 0; - nSendBufferMaxSize = 0; - nReceiveFloodSize = 0; - flagInterruptMsgProc = false; SetTryNewOutboundPeer(false); Options connOptions; -- cgit v1.2.3