TCPServer: fixed uninitialized variables

This commit is contained in:
SChernykh 2022-02-25 15:31:35 +01:00
parent 7ab21c6afd
commit e7919514d4

View file

@ -96,8 +96,8 @@ public:
struct WriteBuf
{
Client* m_client;
uv_write_t m_write;
Client* m_client = nullptr;
uv_write_t m_write = {};
std::vector<uint8_t> m_data;
};