1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-05 17:05:05 -05:00

Fix uninitialized variabled in ConnectionEvent

This commit is contained in:
Loic Blot 2015-04-05 11:13:30 +02:00
parent 334e70455b
commit 4235f671c1

View File

@ -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()
{