From: Davin McCall Date: Mon, 11 Jan 2016 22:59:24 +0000 (+0000) Subject: Make sure to initialise all members of ControlConn X-Git-Tag: v0.01~37 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a8b8d2c54af1dc791a245d517dfe69387f2e7918;p=oweals%2Fdinit.git Make sure to initialise all members of ControlConn --- 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.