mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-05 08:55:01 -05:00
Fix uninitialized variabled in ConnectionEvent
This commit is contained in:
parent
334e70455b
commit
4235f671c1
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user