diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-05 23:51:24 -0800 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-12-06 16:39:18 -0800 |
commit | 2e8d737a96f2326fe773ff29d2103d3a38c62df1 (patch) | |
tree | d8c97b47863e1963d7386fa09c6cb86cca9d1463 | |
parent | 0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8 (diff) |
hle: kernel: k_condition_variable: Revert unnecessary style changes.
-rw-r--r-- | src/core/hle/kernel/k_condition_variable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_condition_variable.cpp b/src/core/hle/kernel/k_condition_variable.cpp index fcfb74ec1..aadcc297a 100644 --- a/src/core/hle/kernel/k_condition_variable.cpp +++ b/src/core/hle/kernel/k_condition_variable.cpp @@ -240,7 +240,7 @@ void KConditionVariable::SignalImpl(KThread* thread) { void KConditionVariable::Signal(u64 cv_key, s32 count) { // Perform signaling. - int num_waiters = 0; + s32 num_waiters{}; { KScopedSchedulerLock sl(kernel); @@ -257,7 +257,7 @@ void KConditionVariable::Signal(u64 cv_key, s32 count) { // If we have no waiters, clear the has waiter flag. if (it == thread_tree.end() || it->GetConditionVariableKey() != cv_key) { - const u32 has_waiter_flag = 0; + const u32 has_waiter_flag{}; WriteToUser(system, cv_key, std::addressof(has_waiter_flag)); } } |