From 0ca00639a990c25262e5c882b09030c7a20fd414 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sun, 16 Aug 2020 15:28:56 -0700 Subject: [PATCH] LibThread: Uninitialized member variable in Thread, found by Coverity --- Libraries/LibThread/Thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibThread/Thread.h b/Libraries/LibThread/Thread.h index 6f2fc8d4c1..56a8bc5eb0 100644 --- a/Libraries/LibThread/Thread.h +++ b/Libraries/LibThread/Thread.h @@ -45,7 +45,7 @@ public: private: Function m_action; - pthread_t m_tid; + pthread_t m_tid { 0 }; String m_thread_name; };