aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_condition_variable.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-05-08 12:11:36 -0400
committerLioncash <mathew1800@gmail.com>2021-05-08 12:33:26 -0400
commit2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d (patch)
treeda5cbd25dcb367559c1bf619a7438fa1e18ff600 /src/core/hle/kernel/k_condition_variable.cpp
parentfaa067f175cbf5e916ed75776817f0046e6731c4 (diff)
kernel: Eliminate variable shadowing
Now that the large kernel refactor is merged, we can eliminate the remaining variable shadowing cases.
Diffstat (limited to 'src/core/hle/kernel/k_condition_variable.cpp')
-rw-r--r--src/core/hle/kernel/k_condition_variable.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_condition_variable.cpp b/src/core/hle/kernel/k_condition_variable.cpp
index f51cf3e7b..ce3bade60 100644
--- a/src/core/hle/kernel/k_condition_variable.cpp
+++ b/src/core/hle/kernel/k_condition_variable.cpp
@@ -254,8 +254,7 @@ void KConditionVariable::Signal(u64 cv_key, s32 count) {
}
// Close threads in the list.
- for (auto it = thread_list.begin(); it != thread_list.end();
- it = thread_list.erase(kernel, it)) {
+ for (auto it = thread_list.begin(); it != thread_list.end(); it = thread_list.erase(it)) {
(*it).Close();
}
}