summaryrefslogtreecommitdiffstats
path: root/src/common/common_funcs.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-02-05 01:56:57 +0100
committerbunnei <bunneidev@gmail.com>2021-02-05 23:03:36 +0100
commitea4f62615e71cd2b680517b7609928ed0abf216d (patch)
treee324ee348627fccb5706ad11fcb316877f4aaa3f /src/common/common_funcs.h
parenthle: kernel: KAddressArbiter: Remove noisy error log. (diff)
downloadyuzu-ea4f62615e71cd2b680517b7609928ed0abf216d.tar
yuzu-ea4f62615e71cd2b680517b7609928ed0abf216d.tar.gz
yuzu-ea4f62615e71cd2b680517b7609928ed0abf216d.tar.bz2
yuzu-ea4f62615e71cd2b680517b7609928ed0abf216d.tar.lz
yuzu-ea4f62615e71cd2b680517b7609928ed0abf216d.tar.xz
yuzu-ea4f62615e71cd2b680517b7609928ed0abf216d.tar.zst
yuzu-ea4f62615e71cd2b680517b7609928ed0abf216d.zip
Diffstat (limited to '')
-rw-r--r--src/common/common_funcs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index cd3207a03..71b64e32a 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -104,14 +104,6 @@ __declspec(dllimport) void __stdcall DebugBreak(void);
} \
}
-/// Evaluates a boolean expression, and returns a result unless that expression is true.
-#define R_UNLESS_NOLOG(expr, res) \
- { \
- if (!(expr)) { \
- return res; \
- } \
- }
-
#define R_SUCCEEDED(res) (res.IsSuccess())
/// Evaluates an expression that returns a result, and returns the result if it would fail.