From 4235f671c1db54972d288d5be952a748a7563080 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sun, 5 Apr 2015 11:13:30 +0200 Subject: [PATCH] Fix uninitialized variabled in ConnectionEvent --- src/network/connection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/network/connection.h b/src/network/connection.h index f60c6625..556a40a1 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() {