From 4235f671c1db54972d288d5be952a748a7563080 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sun, 5 Apr 2015 11:13:30 +0200 Subject: Fix uninitialized variabled in ConnectionEvent --- src/network/connection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/network/connection.h') diff --git a/src/network/connection.h b/src/network/connection.h index f60c66257..556a40a12 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -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() { -- cgit v1.2.3