mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
src: initialize worker's stack_base_ field
Coverity was complaining that this field was not initialized. PR-URL: https://github.com/nodejs/node/pull/26739 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
6874288f6e
commit
79d6895484
1 file changed
+1
-1
+1
-1
@@ -70,7 +70,7 @@ class Worker : public AsyncWrap {
|
||||
bool thread_joined_ = true;
|
||||
int exit_code_ = 0;
|
||||
uint64_t thread_id_ = -1;
|
||||
uintptr_t stack_base_;
|
||||
uintptr_t stack_base_ = 0;
|
||||
|
||||
// Full size of the thread's stack.
|
||||
static constexpr size_t kStackSize = 4 * 1024 * 1024;
|
||||
|
||||
Reference in new issue
Block a user