From 09f700f72e4442307e1f842a1aace11a2cc821b8 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 13 May 2018 17:51:21 +0100 Subject: [PATCH] Problem: uninitialised class variable warning Solution: initialise it --- src/ipc_listener.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipc_listener.cpp b/src/ipc_listener.cpp index 470aef75..6023722d 100644 --- a/src/ipc_listener.cpp +++ b/src/ipc_listener.cpp @@ -138,6 +138,7 @@ zmq::ipc_listener_t::ipc_listener_t (io_thread_t *io_thread_, io_object_t (io_thread_), has_file (false), s (retired_fd), + handle ((handle_t) NULL), socket (socket_) { }