mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix uninitialized variabled in ConnectionEvent
This commit is contained in:
parent
334e70455b
commit
4235f671c1
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue