diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-11-19 08:06:52 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-11-19 08:06:52 +0100 |
commit | c2e0661b0afb2f50f47e0275fa6603947f26d240 (patch) | |
tree | 64f9601e932a726cc163195b4a6cba6d2649d19b /src | |
parent | 26ca5ed8c62f8a88a32106a5c9e003712f4ca655 (diff) |
uninitialised variable in devpoll_t and kqueue_t
Diffstat (limited to 'src')
-rw-r--r-- | src/devpoll.cpp | 3 | ||||
-rw-r--r-- | src/kqueue.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/devpoll.cpp b/src/devpoll.cpp index f28d55e..0ee772b 100644 --- a/src/devpoll.cpp +++ b/src/devpoll.cpp @@ -37,7 +37,8 @@ #include "config.hpp" #include "i_poll_events.hpp" -zmq::devpoll_t::devpoll_t () +zmq::devpoll_t::devpoll_t () : + stopping (false) { // Get limit on open files struct rlimit rl; diff --git a/src/kqueue.cpp b/src/kqueue.cpp index f32fa36..69ad0c8 100644 --- a/src/kqueue.cpp +++ b/src/kqueue.cpp @@ -33,7 +33,8 @@ #include "config.hpp" #include "i_poll_events.hpp" -zmq::kqueue_t::kqueue_t () +zmq::kqueue_t::kqueue_t () : + stopping (false) { // Create event queue kqueue_fd = kqueue (); |