From a8b8d2c54af1dc791a245d517dfe69387f2e7918 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Mon, 11 Jan 2016 22:59:24 +0000 Subject: [PATCH] Make sure to initialise all members of ControlConn --- src/control.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/control.h b/src/control.h index 0bce51c..c55fa88 100644 --- a/src/control.h +++ b/src/control.h @@ -52,8 +52,8 @@ class ControlConn : private ServiceListener struct ev_loop *loop; ServiceSet *service_set; - bool bad_conn_close; // close when finished output? - bool oom_close; // send final 'out of memory' indicator + bool bad_conn_close = false; // close when finished output? + bool oom_close = false; // send final 'out of memory' indicator // The packet length before we need to re-check if the packet is complete. // processPacket() will not be called until the packet reaches this size. -- 2.25.1