diff options
author | bunnei <bunneidev@gmail.com> | 2022-10-14 22:55:51 -0700 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-10-18 19:13:35 -0700 |
commit | 829e82e264504696ce1d0ae9421a53d16bf104ea (patch) | |
tree | ce5c5f35eec6c801c51d7ff6242cbd42ad2d84f8 /src/core/hle/result.h | |
parent | a4d11f4427859cbe82fc825f8493844e17bb668f (diff) |
core: hle: kernel: Use result macros for new/changed code.
Diffstat (limited to 'src/core/hle/result.h')
-rw-r--r-- | src/core/hle/result.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h index d714dea38..ef4b2d417 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h @@ -470,9 +470,6 @@ constexpr inline Result __TmpCurrentResultReference = ResultSuccess; #define R_UNLESS(expr, res) \ { \ if (!(expr)) { \ - if (res.IsError()) { \ - LOG_ERROR(Kernel, "Failed with result: {}", res.raw); \ - } \ R_THROW(res); \ } \ } |