mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +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;
|
||||
Address address;
|
||||
|
||||
ConnectionEvent(): type(CONNEVENT_NONE) {}
|
||||
ConnectionEvent(): type(CONNEVENT_NONE), peer_id(0),
|
||||
timeout(false) {}
|
||||
|
||||
std::string describe()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue