From 1a4689315ee51a9a25a63b7fa365dfece252c771 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Thu, 6 Jan 2022 16:02:42 -0500 Subject: [PATCH] worker: add missing initialization Add missing initialization reported by coverity Signed-off-by: Michael Dawson --- src/node_worker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_worker.h b/src/node_worker.h index 077d2b8390e6f8..c12714c7add69b 100644 --- a/src/node_worker.h +++ b/src/node_worker.h @@ -80,7 +80,7 @@ class Worker : public AsyncWrap { MultiIsolatePlatform* platform_; v8::Isolate* isolate_ = nullptr; - uv_thread_t tid_; + uv_thread_t tid_ = 0; std::unique_ptr inspector_parent_handle_;