Fix uninitialized variabled in ConnectionEvent

This commit is contained in:
Loic Blot 2015-04-05 11:13:30 +02:00
parent 14ede81c60
commit db8ca65b47

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