summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/k_client_port.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_client_port.cpp b/src/core/hle/kernel/k_client_port.cpp
index 50606bd91..bcb884e8a 100644
--- a/src/core/hle/kernel/k_client_port.cpp
+++ b/src/core/hle/kernel/k_client_port.cpp
@@ -66,7 +66,7 @@ ResultCode KClientPort::CreateSession(KClientSession** out,
66 // Update the session counts. 66 // Update the session counts.
67 { 67 {
68 // Atomically increment the number of sessions. 68 // Atomically increment the number of sessions.
69 s32 new_sessions; 69 s32 new_sessions{};
70 { 70 {
71 const auto max = max_sessions; 71 const auto max = max_sessions;
72 auto cur_sessions = num_sessions.load(std::memory_order_acquire); 72 auto cur_sessions = num_sessions.load(std::memory_order_acquire);