Fix all uninitialized variable warnings (C26495)
This commit is contained in:
1 parent
525e6b2194
commit
78bfd25964
111 files changed
+638
-651
No files matched your search
+1
-1
@@ -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();
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user