mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix uninitialized variabled in ConnectionEvent
This commit is contained in:
@@ -865,7 +865,8 @@ struct ConnectionEvent
|
|||||||
bool timeout;
|
bool timeout;
|
||||||
Address address;
|
Address address;
|
||||||
|
|
||||||
ConnectionEvent(): type(CONNEVENT_NONE) {}
|
ConnectionEvent(): type(CONNEVENT_NONE), peer_id(0),
|
||||||
|
timeout(false) {}
|
||||||
|
|
||||||
std::string describe()
|
std::string describe()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user