diff options
| author | Lioncash <mathew1800@gmail.com> | 2022-12-05 14:51:15 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2022-12-05 15:19:36 -0500 |
| commit | 6fea145402f8e8e7d0ca5483df224ead5e89800a (patch) | |
| tree | f36952ecf693754a95d521c53fd154cbfae31d75 /src/core/hle/kernel | |
| parent | 8b8320be4a363b9e7a2853dad92425a4bd5c0249 (diff) | |
kernel/thread: Ensure stack_top and argument are always initialized
Diffstat (limited to 'src/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/k_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index f38c92bffc..dc52b4ed3c 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -784,8 +784,8 @@ private: std::vector<KSynchronizationObject*> wait_objects_for_debugging; VAddr mutex_wait_address_for_debugging{}; ThreadWaitReasonForDebugging wait_reason_for_debugging{}; - uintptr_t argument; - VAddr stack_top; + uintptr_t argument{}; + VAddr stack_top{}; public: using ConditionVariableThreadTreeType = ConditionVariableThreadTree; |
