diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-06 11:26:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-06 11:26:38 -0500 |
| commit | a86af1b776fadb4d5804ef2c1fb74e0c197cc51d (patch) | |
| tree | 86973b1879caef999ac9f1d413b48538e2644542 /src/core/hle/kernel/k_thread.h | |
| parent | 131ed37803d6b42e9f99de36fa35d936bcbd68a3 (diff) | |
| parent | efa8711bf3b933ce95b0722a39ff7ff4aaf426a1 (diff) | |
Merge pull request #9386 from lioncash/init
kernel: Ensure relevant class members are always initialized on construction
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
| -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 f38c92bff..dc52b4ed3 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; |
