aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2019-01-05 12:02:12 +0100
committerMarcoFalke <[email protected]>2019-01-05 16:16:37 +0100
commitfa2510d5c1cdf9c2cd5cc9887302ced4378c7202 (patch)
tree616492efb0b268d8e37ba57bda813aaacc66c975 /src/net.cpp
parentMerge #12151: rpc: Remove cs_main lock from blockToJSON and blockheaderToJSON (diff)
downloaddiscoin-fa2510d5c1cdf9c2cd5cc9887302ced4378c7202.tar.xz
discoin-fa2510d5c1cdf9c2cd5cc9887302ced4378c7202.zip
Use C++11 default member initializers
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/net.cpp b/src/net.cpp
index a288c6e81..65c681c31 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;