diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-08-24 19:19:58 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-08-24 19:19:19 +0200 |
commit | fa82f4ea96749115311cffa0919d49d383c4d28b (patch) | |
tree | 05480cf49b6f2f1dde92262a0bc321806673c5bd /src/net.h | |
parent | eb09c26724e3f714b613788fc506f2ff3a208d2c (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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); } |