TCPServer: removed unused field

This commit is contained in:
SChernykh 2021-11-09 15:48:59 +01:00
parent dbab191bfc
commit 5dd8d11b72
2 changed files with 0 additions and 2 deletions

View file

@ -76,7 +76,6 @@ public:
Client* m_next;
uv_tcp_t m_socket;
uv_write_t m_write;
uv_connect_t m_connectRequest;
bool m_isV6;

View file

@ -798,7 +798,6 @@ void TCPServer<READ_BUF_SIZE, WRITE_BUF_SIZE>::Client::reset()
m_prev = nullptr;
m_next = nullptr;
memset(&m_socket, 0, sizeof(m_socket));
memset(&m_write, 0, sizeof(m_write));
memset(&m_connectRequest, 0, sizeof(m_connectRequest));
m_isV6 = false;
m_isIncoming = false;