aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2020-08-20 15:26:27 -0700
committerAmiti Uttarwar <amiti@uttarwar.org>2020-09-02 17:18:22 -0700
commiteb1c5d090f4ef844dabc1e8bf3864c1afe1c791c (patch)
treed071056bacc764caff867d31d8d1b7f7cde527d9 /src/net.cpp
parentd5a57cef62ee9e9d30f7e3b80e178149ceeef67c (diff)
downloadbitcoin-eb1c5d090f4ef844dabc1e8bf3864c1afe1c791c.tar.xz
[doc] Follow developer notes, add comment about missing default.
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 262197117d..f483f9922f 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1852,7 +1852,7 @@ void CConnman::ThreadOpenConnections(const std::vector<std::string> connect)
case ConnectionType::ADDR_FETCH:
case ConnectionType::FEELER:
setConnected.insert(pnode->addr.GetGroup(addrman.m_asmap));
- }
+ } // no default case, so the compiler can warn about missing cases
}
}