aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-08-24 19:19:58 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-08-24 19:19:19 +0200
commitfa82f4ea96749115311cffa0919d49d383c4d28b (patch)
tree05480cf49b6f2f1dde92262a0bc321806673c5bd /src/net.h
parenteb09c26724e3f714b613788fc506f2ff3a208d2c (diff)
Remove unused MaybeSetAddrName
This logic is a no-op since it was introduced in commit f9f5cfc50637f2cd1540923caf337e2651ec1625. m_addr_name is never initialized to the empty string, because ToStringIPPort never returns an empty string.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 28cd635976..ee8c1119e7 100644
--- a/src/net.h
+++ b/src/net.h
@@ -659,8 +659,6 @@ public:
}
std::string GetAddrName() const;
- //! Sets the addrName only if it was not previously set
- void MaybeSetAddrName(const std::string& addrNameIn);
std::string ConnectionTypeAsString() const { return ::ConnectionTypeAsString(m_conn_type); }