Fix all uninitialized variable warnings (C26495)

This commit is contained in:
Pokechu22 committed 2021-10-13 12:32:16 -07:00
1 parent 525e6b2194
commit 78bfd25964
111 files changed
+638 -651

No files matched your search

@@ -191,7 +191,7 @@ struct Server
std::string m_description;
std::string m_address;
u16 m_port;
std::array<Proto::MessageType::PortInfo, Proto::PORT_COUNT> m_port_info;
std::array<Proto::MessageType::PortInfo, Proto::PORT_COUNT> m_port_info{};
sf::UdpSocket m_socket;
SteadyClock::time_point m_disconnect_time = SteadyClock::now();
};