diff --git a/src/event/MultiSocketMonitor.cxx b/src/event/MultiSocketMonitor.cxx index aa8450da8..9a28dd71d 100644 --- a/src/event/MultiSocketMonitor.cxx +++ b/src/event/MultiSocketMonitor.cxx @@ -28,7 +28,7 @@ #endif MultiSocketMonitor::MultiSocketMonitor(EventLoop &_loop) - :IdleMonitor(_loop), TimeoutMonitor(_loop), ready(false) { + :IdleMonitor(_loop), TimeoutMonitor(_loop) { } MultiSocketMonitor::~MultiSocketMonitor() diff --git a/src/event/MultiSocketMonitor.hxx b/src/event/MultiSocketMonitor.hxx index f138fa31c..d6c400b9e 100644 --- a/src/event/MultiSocketMonitor.hxx +++ b/src/event/MultiSocketMonitor.hxx @@ -99,7 +99,7 @@ class MultiSocketMonitor : IdleMonitor, TimeoutMonitor /** * DispatchSockets() should be called. */ - bool ready; + bool ready = false; /** * PrepareSockets() should be called.