aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-01-05 12:02:12 +0100
committerMarcoFalke <falke.marco@gmail.com>2019-01-05 16:16:37 +0100
commitfa2510d5c1cdf9c2cd5cc9887302ced4378c7202 (patch)
tree616492efb0b268d8e37ba57bda813aaacc66c975 /src/net.cpp
parentf7e182a973ed66b4c11dc6239e57016655503b4c (diff)
downloadbitcoin-fa2510d5c1cdf9c2cd5cc9887302ced4378c7202.tar.xz
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 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;