From 07c6b0f5555de2df6f2f74534a85d2613aa2fb19 Mon Sep 17 00:00:00 2001 From: Pavel Boyko Date: Wed, 10 Mar 2010 16:44:26 +0300 Subject: [PATCH] Initialize all members in SystemThread c-tor --- src/core/unix-system-thread.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/unix-system-thread.cc b/src/core/unix-system-thread.cc index 676d4d8e0..ce2906b02 100644 --- a/src/core/unix-system-thread.cc +++ b/src/core/unix-system-thread.cc @@ -62,7 +62,7 @@ private: }; SystemThreadImpl::SystemThreadImpl (Callback callback) - : m_callback (callback) + : m_callback (callback), m_break (false) { NS_LOG_FUNCTION_NOARGS (); // Make sure we have a SIGALRM handler which does not terminate @@ -141,7 +141,7 @@ SystemThreadImpl::DoRun (void *arg) // class above. // SystemThread::SystemThread (Callback callback) - : m_impl (new SystemThreadImpl (callback)) + : m_impl (new SystemThreadImpl (callback)), m_break (false) { NS_LOG_FUNCTION_NOARGS (); }