diff options
author | bunnei <bunneidev@gmail.com> | 2021-06-10 07:29:18 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-06-10 07:29:18 +0200 |
commit | ec5674a6ad89ec705e835d2b711dca18f4ef1616 (patch) | |
tree | 592ae4d893972f5a5fad433ba64ec529079fd4f4 /src/core/hle/kernel/k_client_port.cpp | |
parent | hle: service: Use correct size for ServerSessionCountMax. (diff) | |
download | yuzu-ec5674a6ad89ec705e835d2b711dca18f4ef1616.tar yuzu-ec5674a6ad89ec705e835d2b711dca18f4ef1616.tar.gz yuzu-ec5674a6ad89ec705e835d2b711dca18f4ef1616.tar.bz2 yuzu-ec5674a6ad89ec705e835d2b711dca18f4ef1616.tar.lz yuzu-ec5674a6ad89ec705e835d2b711dca18f4ef1616.tar.xz yuzu-ec5674a6ad89ec705e835d2b711dca18f4ef1616.tar.zst yuzu-ec5674a6ad89ec705e835d2b711dca18f4ef1616.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_client_port.cpp | 2 |
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, // Update the session counts. { // Atomically increment the number of sessions. - s32 new_sessions; + s32 new_sessions{}; { const auto max = max_sessions; auto cur_sessions = num_sessions.load(std::memory_order_acquire); |