Remove unused MaybeSetAddrName

This logic is a no-op since it was introduced in commit
f9f5cfc506.

m_addr_name is never initialized to the empty string, because
ToStringIPPort never returns an empty string.
This commit is contained in:
MarcoFalke
2021-08-24 19:19:58 +02:00
parent eb09c26724
commit fa82f4ea96
3 changed files with 4 additions and 19 deletions

View File

@@ -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); }