From 4e226b523e732addb286ade7af17c79ba1c26633 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 10 Jul 2020 10:35:33 -0700 Subject: [PATCH] ipc/receive: trivially correct result return codeflow --- libraries/libmesosphere/source/kern_k_server_session.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libmesosphere/source/kern_k_server_session.cpp b/libraries/libmesosphere/source/kern_k_server_session.cpp index 476cbe0ea..f7a33b76a 100644 --- a/libraries/libmesosphere/source/kern_k_server_session.cpp +++ b/libraries/libmesosphere/source/kern_k_server_session.cpp @@ -687,9 +687,9 @@ namespace ams::kern { /* Set the server result. */ if (recv_list_broken) { - return svc::ResultReceiveListBroken(); + result = svc::ResultReceiveListBroken(); } else { - return svc::ResultNotFound(); + result = svc::ResultNotFound(); } }