summaryrefslogtreecommitdiff
path: root/src/threading/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/threading/thread.h')
-rw-r--r--src/threading/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/threading/thread.h b/src/threading/thread.h
index 284c8e46c..dab5d0ec7 100644
--- a/src/threading/thread.h
+++ b/src/threading/thread.h
@@ -145,8 +145,8 @@ private:
static void threadProc(Thread *thr);
- void *m_retval;
- bool m_joinable;
+ void *m_retval = nullptr;
+ bool m_joinable = false;
std::atomic<bool> m_request_stop;
std::atomic<bool> m_running;
std::mutex m_mutex;