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