mirror of
https://github.com/minetest/minetest.git
synced 2025-03-14 14:22:36 +01:00
Fix uninitialized variabled in ConnectionEvent
This commit is contained in:
@ -865,7 +865,8 @@ struct ConnectionEvent
|
||||
bool timeout;
|
||||
Address address;
|
||||
|
||||
ConnectionEvent(): type(CONNEVENT_NONE) {}
|
||||
ConnectionEvent(): type(CONNEVENT_NONE), peer_id(0),
|
||||
timeout(false) {}
|
||||
|
||||
std::string describe()
|
||||
{
|
||||
|
Reference in New Issue
Block a user