uninitialised variable in devpoll_t and kqueue_t

This commit is contained in:
Martin Sustrik 2009-11-19 08:06:52 +01:00
parent 26ca5ed8c6
commit c2e0661b0a
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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 ();